severalnines / puppet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module not doing anything

thaylin opened this issue · comments

I attempted to use the module on a rhel 8 mahcine and it did not do anything. I used it with the option

mod 'severalnines-clustercontrol', :latest uing the r10k as well as the normal

mod 'severalnines/clustercontrol',
:git => 'git@github.com:severalnines/puppet.git'

I know it is seeing the module because if I would miss something it would error out

Here is the configuration I used:

$cmonpassowrd = lookup('profile::auth:comon')
$cmonapi = lookup('profile::auth:comon_api')
class { 'clustercontrol':
is_controller => true,
ip_address => $ipaddress,
mysql_cmon_password => $cmonpassowrd,
api_token => $cmonapi,
ssh_user => 'root',
email_address => $email_address,
ssh_port => '1024',
modulepath => '/etc/puppetlabs/code/environments/lib_master/modules/clustercontrol/',
}

There are no errors It appears as if it may be trying something but never actually does it

Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/functions/apache/pw_hash.rb]/ensure: defined content as '{md5}057c8dfb3efcd507999bb3d6c5b4024a'
Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/functions/apache_pw_hash.rb]/ensure: defined content as '{md5}9ab227d09ff3fbcc3b8e1a241f26837f'
Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/functions/bool2httpd.rb]/ensure: defined content as '{md5}a9327a2a431df2e165c2f8ada0a6c1b7'

I see that you are setting selinux to permissive in your code, but it stays enforcing.

I am set SElinux to permissive just to test and there was still no action.

This was my mistake with the hostname