hey guys
I have two manifests that I setup to apply to different types of
machines. one is a webservices class that goes like this
class webservices {
$webapps = [ "php-common","php","httpd" ]
package { $webapps: ensure => installed }
service { httpd:
name => httpd,
enable => true,
ensure => running,
hasstatus => true
}
}
The above works.. when I run puppetd --test on the machine acting as
the webserver these apps are installed
However for the dbservices manifest which looks like this:
class dbservices {
$pgapps = [ "postgresql84-server","postgresql84" ]
package { $pgapps:
ensure => installed }
class postgres {
package { $pgapps: ensure => installed }
service { postgresql:
name => postgresql,
enable => true,
ensure => running
}
}
class mysql {
$myapps = [ "mysql-server","mysql" ]
package { $myapps: ensure => installed }
service { mysqld:
name => mysqld,
enable => true,
ensure => running
}
}
}
Running puppetd --test on the host functioning as the database server
these apps are not installed.
And I have my nodes setup like this:
node 'pclient.acadaca.net' { include dbservices }
node 'mclient.acadaca.net'{ include webservices }
Can I get some advice on getting this to work?
thanks!!
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.