Hi all,
Im provisioning new Vms in a eucalyptus Private-Cloud.
then via ssh install the puppet client and point the config file to the puppetMaster.
the pupet master config is very simple
[root@puppet manifests]# tree /etc/puppet/
/etc/puppet/
|-- auth.conf
|-- autosign.conf
|-- fileserver.conf
|-- manifests
| |-- clases
| | `-- http.pp
| `-- nodes.pp
`-- puppet.conf
the nodes request autosign the certs using the config in autosign
[root@puppet puppet]# cat autosign.conf
and while the vm is starting I can see the cert requst in the master logs.
Oct 21 10:41:16 puppet puppet-master[26745]: Could not resolve
192.168.160.44: no name for 192.168.160.44
Oct 21 10:41:17 puppet last message repeated 3 times
Oct 21 10:41:17 puppet puppet-master[26745]: Removing file Puppet::SSL::CertificateRequest
http_i-02953f34.cloud.mydomain.net at '/var/lib/puppet/ssl/ca/requests/http_i-02953f34.cloud.mydomain.net.pem'
Oct 21 10:41:17 puppet puppet-master[26745]: Could not resolve
192.168.160.44: no name for 192.168.160.44
the nodes.pp uses a regexp to match the hostname and apply the manifest based in the hostname
[root@puppet puppet]# cat manifests/nodes.pp
import "classes/http"
node /http_*/ {
notice("inside node")
include http
}
and the http.pp class is very simple as well
[root@puppet puppet]# cat manifests/clases/http.pp
# /etc/puppet/manifests/classes/http.pp
class http {
package { 'httpd':
ensure => installed,
}
service { 'httpd':
ensure => running,
enable => true,
}
}
I run the agent in the Vm
-bash-3.2# puppet agent --no-daemonize --onetime --verbose
info: Applying configuration version '1350830592'
notice: Finished catalog run in 0.14 seconds
So I see no errors in the agent os the master, but the http class should install and start apache and never happend.
any clues why?
regards
Owen