Hello,
I have successfully have installed puppetmaster and client on two
seperate vms.
The client is called "cloneubuntu.local.net" and the master is
"puppet.local.net"
Certs are also correct, I signed them and everything went well.
Client and Master can ping each other:
Client:
-----------------------------------------------------
root@cloneubuntu:~# ping puppet
PING puppet.local.net (192.168.10.5) 56(84) bytes of data.
64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1 ttl=64
time=0.409 ms
64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2 ttl=64
time=0.218 ms
64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3 ttl=64
time=0.252 ms
^C
--- puppet.local.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms
root@cloneubuntu:~# puppetd --test --server "puppet.local.net"
info: Caching catalog for cloneubuntu.local.net
info: Applying configuration version ''1317730208''
notice: Finished catalog run in 0.06 seconds
---------------------------------------------------------------------
Master:
---------------------------------------------------------------------
root@puppet:/etc/puppet/manifests# screen
--- cloneubunutu.local.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms
root@puppet:/etc/puppet# ps ax | grep puppet
1563 ? Ssl 0:02 /usr/bin/ruby1.8 /usr/bin/puppetmasterd --
mkusers
1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd --verbose
1912 pts/1 S+ 0:00 grep --color=auto puppet
root@puppet:/etc/puppet# tree
.
âââ auth.conf
âââ manifests
â  âââ classes
â  â  âââ sudo.pp
â  âââ modules.pp
â  âââ nodes.pp
â  âââ site.pp
âââ modules
â  âââ sudo
â  âââ files
â  â  âââ sudoers
â  âââ manifests
â  âââ init.pp
âââ site.pp
âââ ssl
âââ ca
â  âââ ca_crl.pem
â  âââ ca_crt.pem
â  âââ ca_key.pem
â  âââ ca_pub.pem
â  âââ inventory.txt
â  âââ private
â  â  âââ ca.pass
â  âââ requests
â  âââ serial
â  âââ signed
â  âââ cloneubuntu.local.net.pem
â  âââ puppet.local.net.pem
âââ certificate_requests
âââ certs
â  âââ ca.pem
â  âââ puppet.local.net.pem
âââ crl.pem
âââ private
âââ private_keys
â  âââ puppet.local.net.pem
âââ public_keys
âââ puppet.local.net.pem
16 directories, 22 files
root@puppet:/etc/puppet#
-----------------------------------------------------------------------
I tried to recreate this example:
http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern
and edited the sudoers file that is inside the puppet directory but
cloneubuntu.local.net (the client) is not writting changes to /etc/
sudoers.
It seems nothing has changed.
Please please help me and let me know if you need additional details.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Also this is what my nodes.pp file looks like on the master
root@puppet:/etc/puppet/manifests# cat nodes.pp
# /etc/puppet/manifests/nodes.pp
node basenode {
include sudo
}
node ''cloneubuntu.local.net'' inherits basenode {
}
and on the master i am running puppetd and it looks like /etc/sudoers file
hasnt been modified according to settings, note that i added user
"red" in
the file /etc/puppet/modules/sudo/files/sudoers
root@puppet:/etc/puppet/modules/sudo/files# cat sudoers | grep -v "#"
Defaults env_reset
root ALL=(ALL) ALL
red ALL=(ALL) ALL
%sudo ALL=(ALL) ALL
%admin ALL=(ALL) ALL
root@puppet:/etc/puppet/modules/sudo/files# cat /etc/sudoers | grep -v
"#"
Defaults env_reset
root ALL=(ALL) ALL
%sudo ALL=(ALL) ALL
%admin ALL=(ALL) ALL
On Tue, Oct 4, 2011 at 8:30 AM, John Bower <olympus.stance@gmail.com>
wrote:
> Hello,
>
> I have successfully have installed puppetmaster and client on two
> seperate vms.
>
> The client is called "cloneubuntu.local.net" and the master is
> "puppet.local.net"
>
> Certs are also correct, I signed them and everything went well.
>
> Client and Master can ping each other:
>
> Client:
> -----------------------------------------------------
> root@cloneubuntu:~# ping puppet
> PING puppet.local.net (192.168.10.5) 56(84) bytes of data.
> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1 ttl=64
> time=0.409 ms
> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2 ttl=64
> time=0.218 ms
> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3 ttl=64
> time=0.252 ms
> ^C
> --- puppet.local.net ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms
>
>
>
> root@cloneubuntu:~# puppetd --test --server "puppet.local.net"
> info: Caching catalog for cloneubuntu.local.net
> info: Applying configuration version ''1317730208''
> notice: Finished catalog run in 0.06 seconds
> ---------------------------------------------------------------------
>
>
>
> Master:
> ---------------------------------------------------------------------
> root@puppet:/etc/puppet/manifests# screen
> --- cloneubunutu.local.net ping statistics ---
> 4 packets transmitted, 4 received, 0% packet loss, time 3000ms
> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms
> root@puppet:/etc/puppet# ps ax | grep puppet
> 1563 ? Ssl 0:02 /usr/bin/ruby1.8 /usr/bin/puppetmasterd --
> mkusers
> 1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd --verbose
> 1912 pts/1 S+ 0:00 grep --color=auto puppet
> root@puppet:/etc/puppet# tree
> .
> âââ auth.conf
> âââ manifests
> â  âââ classes
> â  â  âââ sudo.pp
> â  âââ modules.pp
> â  âââ nodes.pp
> â  âââ site.pp
> âââ modules
> â  âââ sudo
> â  âââ files
> â  â  âââ sudoers
> â  âââ manifests
> â  âââ init.pp
> âââ site.pp
> âââ ssl
> âââ ca
> â  âââ ca_crl.pem
> â  âââ ca_crt.pem
> â  âââ ca_key.pem
> â  âââ ca_pub.pem
> â  âââ inventory.txt
> â  âââ private
> â  â  âââ ca.pass
> â  âââ requests
> â  âââ serial
> â  âââ signed
> â  âââ cloneubuntu.local.net.pem
> â  âââ puppet.local.net.pem
> âââ certificate_requests
> âââ certs
> â  âââ ca.pem
> â  âââ puppet.local.net.pem
> âââ crl.pem
> âââ private
> âââ private_keys
> â  âââ puppet.local.net.pem
> âââ public_keys
> âââ puppet.local.net.pem
>
> 16 directories, 22 files
> root@puppet:/etc/puppet#
> -----------------------------------------------------------------------
>
>
> I tried to recreate this example:
> http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern
> and edited the sudoers file that is inside the puppet directory but
> cloneubuntu.local.net (the client) is not writting changes to /etc/
> sudoers.
>
> It seems nothing has changed.
>
> Please please help me and let me know if you need additional details.
>
> Thanks
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
I am running Ubuntu, installed puppet through gem. On Tue, Oct 4, 2011 at 8:41 AM, olympus stance <olympus.stance@gmail.com>wrote:> Also this is what my nodes.pp file looks like on the master > > root@puppet:/etc/puppet/manifests# cat nodes.pp > # /etc/puppet/manifests/nodes.pp > > node basenode { > include sudo > } > > node ''cloneubuntu.local.net'' inherits basenode { > } > > > and on the master i am running puppetd and it looks like /etc/sudoers file > hasnt been modified according to settings, note that i added user "red" in > the file /etc/puppet/modules/sudo/files/sudoers > > root@puppet:/etc/puppet/modules/sudo/files# cat sudoers | grep -v "#" > > Defaults env_reset > > > > > root ALL=(ALL) ALL > red ALL=(ALL) ALL > %sudo ALL=(ALL) ALL > > %admin ALL=(ALL) ALL > root@puppet:/etc/puppet/modules/sudo/files# cat /etc/sudoers | grep -v "#" > > Defaults env_reset > > > > > root ALL=(ALL) ALL > %sudo ALL=(ALL) ALL > > %admin ALL=(ALL) ALL > > > > On Tue, Oct 4, 2011 at 8:30 AM, John Bower <olympus.stance@gmail.com>wrote: > >> Hello, >> >> I have successfully have installed puppetmaster and client on two >> seperate vms. >> >> The client is called "cloneubuntu.local.net" and the master is >> "puppet.local.net" >> >> Certs are also correct, I signed them and everything went well. >> >> Client and Master can ping each other: >> >> Client: >> ----------------------------------------------------- >> root@cloneubuntu:~# ping puppet >> PING puppet.local.net (192.168.10.5) 56(84) bytes of data. >> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1 ttl=64 >> time=0.409 ms >> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2 ttl=64 >> time=0.218 ms >> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3 ttl=64 >> time=0.252 ms >> ^C >> --- puppet.local.net ping statistics --- >> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms >> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms >> >> >> >> root@cloneubuntu:~# puppetd --test --server "puppet.local.net" >> info: Caching catalog for cloneubuntu.local.net >> info: Applying configuration version ''1317730208'' >> notice: Finished catalog run in 0.06 seconds >> --------------------------------------------------------------------- >> >> >> >> Master: >> --------------------------------------------------------------------- >> root@puppet:/etc/puppet/manifests# screen >> --- cloneubunutu.local.net ping statistics --- >> 4 packets transmitted, 4 received, 0% packet loss, time 3000ms >> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms >> root@puppet:/etc/puppet# ps ax | grep puppet >> 1563 ? Ssl 0:02 /usr/bin/ruby1.8 /usr/bin/puppetmasterd -- >> mkusers >> 1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd --verbose >> 1912 pts/1 S+ 0:00 grep --color=auto puppet >> root@puppet:/etc/puppet# tree >> . >> âââ auth.conf >> âââ manifests >> â  âââ classes >> â  â  âââ sudo.pp >> â  âââ modules.pp >> â  âââ nodes.pp >> â  âââ site.pp >> âââ modules >> â  âââ sudo >> â  âââ files >> â  â  âââ sudoers >> â  âââ manifests >> â  âââ init.pp >> âââ site.pp >> âââ ssl >> âââ ca >> â  âââ ca_crl.pem >> â  âââ ca_crt.pem >> â  âââ ca_key.pem >> â  âââ ca_pub.pem >> â  âââ inventory.txt >> â  âââ private >> â  â  âââ ca.pass >> â  âââ requests >> â  âââ serial >> â  âââ signed >> â  âââ cloneubuntu.local.net.pem >> â  âââ puppet.local.net.pem >> âââ certificate_requests >> âââ certs >> â  âââ ca.pem >> â  âââ puppet.local.net.pem >> âââ crl.pem >> âââ private >> âââ private_keys >> â  âââ puppet.local.net.pem >> âââ public_keys >> âââ puppet.local.net.pem >> >> 16 directories, 22 files >> root@puppet:/etc/puppet# >> ----------------------------------------------------------------------- >> >> >> I tried to recreate this example: >> >> http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern >> and edited the sudoers file that is inside the puppet directory but >> cloneubuntu.local.net (the client) is not writting changes to /etc/ >> sudoers. >> >> It seems nothing has changed. >> >> Please please help me and let me know if you need additional details. >> >> Thanks >> >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Here is more verbose information, amd I missing roledel and pw? From the client: ------------------------------------------------ root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Puppet::Type::User::ProviderLdap: feature ldap is missing debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/pup pet/state] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/s tate] debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: Autorequiring Fil e[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/v ar/lib/puppet/state] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/pupp et/ssl] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/p uppet/state] debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: Autorequir ing File[/etc/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/c erts] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/pupp et/state] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: Autorequiri ng File[/etc/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/va r/lib/puppet/state] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: Finishing transaction -611017208 debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: Autorequiri ng File[/etc/puppet/ssl/public_keys] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/pupp et/ssl] debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: Autorequiring Fil e[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: Autorequir ing File[/etc/puppet/ssl/private_keys] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/c erts] debug: Finishing transaction -611935338 debug: Using cached certificate for ca debug: Using cached certificate for cloneubuntu.local.net notice: Starting Puppet client version 2.7.5 debug: Finishing transaction -612277228 debug: Loaded state in 0.00 seconds debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for cloneubuntu.local.net debug: Using cached certificate_revocation_list for ca info: Caching catalog for cloneubuntu.local.net debug: Creating default schedules debug: Loaded state in 0.00 seconds info: Applying configuration version ''1317735274'' debug: /Schedule[never]: Skipping device resources because running on a host debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: /Schedule[weekly]: Skipping device resources because running on a host debug: Finishing transaction -611613148 debug: Storing state debug: Stored state in 0.01 seconds notice: Finished catalog run in 0.07 seconds debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, u sing default (yaml) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using yaml -------------------------------------------------- From the master ------------------------------------------------- root@puppet:~# puppetmasterd --no-daemonize --debug --verbose debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/ssl/certs/puppet.local.net.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/log/masterhttp.log]: Autorequiring File[/var/lib/puppet/log] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys/puppet.local.net.pem]: Autorequiring File[/etc/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/server_data]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/puppet/manifests] debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys/puppet.local.net.pem]: Autorequiring File[/etc/puppet/ssl/public_keys] debug: Finishing transaction -610819268 debug: /File[/etc/puppet/ssl/ca/inventory.txt]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/requests]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/private]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/signed]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/serial]: Autorequiring File[/etc/puppet/ssl/ca] debug: /File[/etc/puppet/ssl/ca/private/ca.pass]: Autorequiring File[/etc/puppet/ssl/ca/private] debug: /File[/etc/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/etc/puppet/ssl/ca] debug: Finishing transaction -611630128 debug: Using cached certificate for ca debug: Using cached certificate for ca debug: Using cached certificate for puppet.local.net notice: Starting Puppet master version 2.7.5 debug: No file server configuration file; autocreating modules mount with default permissions debug: No file server configuration file; autocreating plugins mount with default permissions debug: Finishing transaction -610147668 info: access[^/catalog/([^/]+)$]: allowing ''method'' find info: access[^/catalog/([^/]+)$]: allowing $1 access info: access[^/node/([^/]+)$]: allowing ''method'' find info: access[^/node/([^/]+)$]: allowing $1 access info: access[/certificate_revocation_list/ca]: allowing ''method'' find info: access[/certificate_revocation_list/ca]: allowing * access info: access[/report]: allowing ''method'' save info: access[/report]: allowing * access info: access[/file]: allowing * access info: access[/certificate/ca]: adding authentication no info: access[/certificate/ca]: allowing ''method'' find info: access[/certificate/ca]: allowing * access info: access[/certificate/]: adding authentication no info: access[/certificate/]: allowing ''method'' find info: access[/certificate/]: allowing * access info: access[/certificate_request]: adding authentication no info: access[/certificate_request]: allowing ''method'' find info: access[/certificate_request]: allowing ''method'' save info: access[/certificate_request]: allowing * access info: access[/]: adding authentication any info: Inserting default ''/status''(auth) ACL because none were found in ''/etc/puppet/auth.conf'' info: Expiring the node cache of cloneubuntu.local.net info: Not using expired node for cloneubuntu.local.net from cache; expired at Tue Oct 04 06:37:18 -0700 2011 info: Caching node for cloneubuntu.local.net debug: importing ''/etc/puppet/manifests/classes/sudo.pp'' in environment production notice: Compiled catalog for cloneubuntu.local.net in environment production in 0.06 seconds debug: Recieved report to process from cloneubuntu.local.net debug: Processing report from cloneubuntu.local.net with processor Puppet::Reports::Store ------------------------------------------------------------ On Tue, Oct 4, 2011 at 9:30 AM, olympus stance <olympus.stance@gmail.com>wrote:> I am running Ubuntu, installed puppet through gem. > > > On Tue, Oct 4, 2011 at 8:41 AM, olympus stance <olympus.stance@gmail.com>wrote: > >> Also this is what my nodes.pp file looks like on the master >> >> root@puppet:/etc/puppet/manifests# cat nodes.pp >> # /etc/puppet/manifests/nodes.pp >> >> node basenode { >> include sudo >> } >> >> node ''cloneubuntu.local.net'' inherits basenode { >> } >> >> >> and on the master i am running puppetd and it looks like /etc/sudoers file >> hasnt been modified according to settings, note that i added user "red" in >> the file /etc/puppet/modules/sudo/files/sudoers >> >> root@puppet:/etc/puppet/modules/sudo/files# cat sudoers | grep -v "#" >> >> Defaults env_reset >> >> >> >> >> root ALL=(ALL) ALL >> red ALL=(ALL) ALL >> %sudo ALL=(ALL) ALL >> >> %admin ALL=(ALL) ALL >> root@puppet:/etc/puppet/modules/sudo/files# cat /etc/sudoers | grep -v >> "#" >> >> Defaults env_reset >> >> >> >> >> root ALL=(ALL) ALL >> %sudo ALL=(ALL) ALL >> >> %admin ALL=(ALL) ALL >> >> >> >> On Tue, Oct 4, 2011 at 8:30 AM, John Bower <olympus.stance@gmail.com>wrote: >> >>> Hello, >>> >>> I have successfully have installed puppetmaster and client on two >>> seperate vms. >>> >>> The client is called "cloneubuntu.local.net" and the master is >>> "puppet.local.net" >>> >>> Certs are also correct, I signed them and everything went well. >>> >>> Client and Master can ping each other: >>> >>> Client: >>> ----------------------------------------------------- >>> root@cloneubuntu:~# ping puppet >>> PING puppet.local.net (192.168.10.5) 56(84) bytes of data. >>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1 ttl=64 >>> time=0.409 ms >>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2 ttl=64 >>> time=0.218 ms >>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3 ttl=64 >>> time=0.252 ms >>> ^C >>> --- puppet.local.net ping statistics --- >>> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms >>> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms >>> >>> >>> >>> root@cloneubuntu:~# puppetd --test --server "puppet.local.net" >>> info: Caching catalog for cloneubuntu.local.net >>> info: Applying configuration version ''1317730208'' >>> notice: Finished catalog run in 0.06 seconds >>> --------------------------------------------------------------------- >>> >>> >>> >>> Master: >>> --------------------------------------------------------------------- >>> root@puppet:/etc/puppet/manifests# screen >>> --- cloneubunutu.local.net ping statistics --- >>> 4 packets transmitted, 4 received, 0% packet loss, time 3000ms >>> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms >>> root@puppet:/etc/puppet# ps ax | grep puppet >>> 1563 ? Ssl 0:02 /usr/bin/ruby1.8 /usr/bin/puppetmasterd -- >>> mkusers >>> 1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd --verbose >>> 1912 pts/1 S+ 0:00 grep --color=auto puppet >>> root@puppet:/etc/puppet# tree >>> . >>> âââ auth.conf >>> âââ manifests >>> â  âââ classes >>> â  â  âââ sudo.pp >>> â  âââ modules.pp >>> â  âââ nodes.pp >>> â  âââ site.pp >>> âââ modules >>> â  âââ sudo >>> â  âââ files >>> â  â  âââ sudoers >>> â  âââ manifests >>> â  âââ init.pp >>> âââ site.pp >>> âââ ssl >>> âââ ca >>> â  âââ ca_crl.pem >>> â  âââ ca_crt.pem >>> â  âââ ca_key.pem >>> â  âââ ca_pub.pem >>> â  âââ inventory.txt >>> â  âââ private >>> â  â  âââ ca.pass >>> â  âââ requests >>> â  âââ serial >>> â  âââ signed >>> â  âââ cloneubuntu.local.net.pem >>> â  âââ puppet.local.net.pem >>> âââ certificate_requests >>> âââ certs >>> â  âââ ca.pem >>> â  âââ puppet.local.net.pem >>> âââ crl.pem >>> âââ private >>> âââ private_keys >>> â  âââ puppet.local.net.pem >>> âââ public_keys >>> âââ puppet.local.net.pem >>> >>> 16 directories, 22 files >>> root@puppet:/etc/puppet# >>> ----------------------------------------------------------------------- >>> >>> >>> I tried to recreate this example: >>> >>> http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern >>> and edited the sudoers file that is inside the puppet directory but >>> cloneubuntu.local.net (the client) is not writting changes to /etc/ >>> sudoers. >>> >>> It seems nothing has changed. >>> >>> Please please help me and let me know if you need additional details. >>> >>> Thanks >>> >>> >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Here is my ouput from the gems webpage running on cloneubuntu (the client).
I am stuck, please help :)
Summary
There are 3 gems installed:
facter, puppet, rubygems.
Gems
facter 1.6.0 [rdoc] [www]
Facter, a system inventory tool
Executable is facter.
puppet 2.7.5 [rdoc] [www] - depends on facter.
Puppet, an automated configuration management tool
Executables are filebucket, pi, puppet, puppetca, puppetd, puppetdoc,
puppetmasterd, puppetqd, puppetrun, ralsh.
rubygems 1.3.5 [rdoc] [www]
RubyGems itself
Executable is gem.
On Tue, Oct 4, 2011 at 9:39 AM, olympus stance
<olympus.stance@gmail.com>wrote:
> Here is more verbose information, amd I missing roledel and pw?
>
>
> From the client:
> ------------------------------------------------
> root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose
> debug: Failed to load library ''selinux'' for feature
''selinux''
> debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not
> exist
> debug: Puppet::Type::User::ProviderPw: file pw does not exist
> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl
> does not exist
> debug: Failed to load library ''ldap'' for feature
''ldap''
> debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
> microsoft_windows is missing
> debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring
> File[/var/lib/pup pet/state]
> debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
> File[/var/lib/puppet/s tate]
> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
> Autorequiring Fil e[/etc/puppet/ssl/certs]
> debug: /File[/var/lib/puppet/client_yaml]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/client_data]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring
> File[/v ar/lib/puppet/state]
> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
> File[/etc/pupp et/ssl]
> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring
> File[/var/lib/p uppet/state]
> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
> Autorequir ing File[/etc/puppet/ssl/private_keys]
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/etc/puppet/ssl/c erts]
> debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
> File[/var/lib/pupp et/state]
> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/clientbucket]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
> Autorequiri ng File[/etc/puppet/ssl/public_keys]
> debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring
> File[/va r/lib/puppet/state]
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: Finishing transaction -611017208
> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
> Autorequiri ng File[/etc/puppet/ssl/public_keys]
> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
> File[/etc/pupp et/ssl]
> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
> Autorequiring Fil e[/etc/puppet/ssl/certs]
> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
> Autorequir ing File[/etc/puppet/ssl/private_keys]
> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/etc/puppet/ssl/c erts]
> debug: Finishing transaction -611935338
> debug: Using cached certificate for ca
> debug: Using cached certificate for cloneubuntu.local.net
> notice: Starting Puppet client version 2.7.5
> debug: Finishing transaction -612277228
> debug: Loaded state in 0.00 seconds
> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml;
> using pson
> debug: Using cached certificate for ca
> debug: Using cached certificate for cloneubuntu.local.net
> debug: Using cached certificate_revocation_list for ca
>
> info: Caching catalog for cloneubuntu.local.net
> debug: Creating default schedules
> debug: Loaded state in 0.00 seconds
> info: Applying configuration version ''1317735274''
> debug: /Schedule[never]: Skipping device resources because running on a
> host
> debug: /Schedule[daily]: Skipping device resources because running on a
> host
> debug: /Schedule[monthly]: Skipping device resources because running on a
> host
> debug: /Schedule[puppet]: Skipping device resources because running on a
> host
> debug: /Schedule[hourly]: Skipping device resources because running on a
> host
> debug: /Schedule[weekly]: Skipping device resources because running on a
> host
> debug: Finishing transaction -611613148
> debug: Storing state
> debug: Stored state in 0.01 seconds
> notice: Finished catalog run in 0.07 seconds
> debug: Value of ''preferred_serialization_format'' (pson)
is invalid for
> report, u sing default (yaml)
> debug: report supports formats: b64_zlib_yaml marshal raw yaml; using yaml
> --------------------------------------------------
>
>
> From the master
> -------------------------------------------------
> root@puppet:~# puppetmasterd --no-daemonize --debug --verbose
> debug: Failed to load library ''selinux'' for feature
''selinux''
> debug: Failed to load library ''shadow'' for feature
''libshadow''
> debug: Puppet::Type::User::ProviderPw: file pw does not exist
> debug: Puppet::Type::User::ProviderLdap: true value when expecting false
> debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not
> exist
> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl
> does not exist
> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
> microsoft_windows is missing
> debug: Failed to load library ''ldap'' for feature
''ldap''
> debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet]
> debug: /File[/etc/puppet/ssl/certs/puppet.local.net.pem]: Autorequiring
> File[/etc/puppet/ssl/certs]
> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/log/masterhttp.log]: Autorequiring
> File[/var/lib/puppet/log]
> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/etc/puppet/ssl/certs]
> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/private_keys/puppet.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/private_keys]
> debug: /File[/var/lib/puppet/server_data]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring
> File[/etc/puppet/manifests]
> debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys/puppet.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/public_keys]
> debug: Finishing transaction -610819268
> debug: /File[/etc/puppet/ssl/ca/inventory.txt]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/requests]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/private]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/ca_key.pem]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/signed]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/ca_pub.pem]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/ca_crl.pem]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/serial]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: /File[/etc/puppet/ssl/ca/private/ca.pass]: Autorequiring
> File[/etc/puppet/ssl/ca/private]
> debug: /File[/etc/puppet/ssl/ca/ca_crt.pem]: Autorequiring
> File[/etc/puppet/ssl/ca]
> debug: Finishing transaction -611630128
> debug: Using cached certificate for ca
> debug: Using cached certificate for ca
> debug: Using cached certificate for puppet.local.net
> notice: Starting Puppet master version 2.7.5
> debug: No file server configuration file; autocreating modules mount with
> default permissions
> debug: No file server configuration file; autocreating plugins mount with
> default permissions
> debug: Finishing transaction -610147668
> info: access[^/catalog/([^/]+)$]: allowing ''method'' find
> info: access[^/catalog/([^/]+)$]: allowing $1 access
> info: access[^/node/([^/]+)$]: allowing ''method'' find
> info: access[^/node/([^/]+)$]: allowing $1 access
> info: access[/certificate_revocation_list/ca]: allowing
''method'' find
> info: access[/certificate_revocation_list/ca]: allowing * access
> info: access[/report]: allowing ''method'' save
> info: access[/report]: allowing * access
> info: access[/file]: allowing * access
> info: access[/certificate/ca]: adding authentication no
> info: access[/certificate/ca]: allowing ''method'' find
> info: access[/certificate/ca]: allowing * access
> info: access[/certificate/]: adding authentication no
> info: access[/certificate/]: allowing ''method'' find
> info: access[/certificate/]: allowing * access
> info: access[/certificate_request]: adding authentication no
> info: access[/certificate_request]: allowing ''method''
find
> info: access[/certificate_request]: allowing ''method''
save
> info: access[/certificate_request]: allowing * access
> info: access[/]: adding authentication any
> info: Inserting default ''/status''(auth) ACL because none
were found in
> ''/etc/puppet/auth.conf''
> info: Expiring the node cache of cloneubuntu.local.net
> info: Not using expired node for cloneubuntu.local.net from cache; expired
> at Tue Oct 04 06:37:18 -0700 2011
> info: Caching node for cloneubuntu.local.net
> debug: importing ''/etc/puppet/manifests/classes/sudo.pp''
in environment
> production
> notice: Compiled catalog for cloneubuntu.local.net in environment
> production in 0.06 seconds
> debug: Recieved report to process from cloneubuntu.local.net
> debug: Processing report from cloneubuntu.local.net with processor
> Puppet::Reports::Store
>
> ------------------------------------------------------------
>
>
>
> On Tue, Oct 4, 2011 at 9:30 AM, olympus stance
<olympus.stance@gmail.com>wrote:
>
>> I am running Ubuntu, installed puppet through gem.
>>
>>
>> On Tue, Oct 4, 2011 at 8:41 AM, olympus stance
<olympus.stance@gmail.com>wrote:
>>
>>> Also this is what my nodes.pp file looks like on the master
>>>
>>> root@puppet:/etc/puppet/manifests# cat nodes.pp
>>> # /etc/puppet/manifests/nodes.pp
>>>
>>> node basenode {
>>> include sudo
>>> }
>>>
>>> node ''cloneubuntu.local.net'' inherits basenode {
>>> }
>>>
>>>
>>> and on the master i am running puppetd and it looks like
/etc/sudoers
>>> file hasnt been modified according to settings, note that i added
user "red"
>>> in the file /etc/puppet/modules/sudo/files/sudoers
>>>
>>> root@puppet:/etc/puppet/modules/sudo/files# cat sudoers | grep -v
"#"
>>>
>>> Defaults env_reset
>>>
>>>
>>>
>>>
>>> root ALL=(ALL) ALL
>>> red ALL=(ALL) ALL
>>> %sudo ALL=(ALL) ALL
>>>
>>> %admin ALL=(ALL) ALL
>>> root@puppet:/etc/puppet/modules/sudo/files# cat /etc/sudoers | grep
-v
>>> "#"
>>>
>>> Defaults env_reset
>>>
>>>
>>>
>>>
>>> root ALL=(ALL) ALL
>>> %sudo ALL=(ALL) ALL
>>>
>>> %admin ALL=(ALL) ALL
>>>
>>>
>>>
>>> On Tue, Oct 4, 2011 at 8:30 AM, John Bower
<olympus.stance@gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> I have successfully have installed puppetmaster and client on
two
>>>> seperate vms.
>>>>
>>>> The client is called "cloneubuntu.local.net" and the
master is
>>>> "puppet.local.net"
>>>>
>>>> Certs are also correct, I signed them and everything went well.
>>>>
>>>> Client and Master can ping each other:
>>>>
>>>> Client:
>>>> -----------------------------------------------------
>>>> root@cloneubuntu:~# ping puppet
>>>> PING puppet.local.net (192.168.10.5) 56(84) bytes of data.
>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1
ttl=64
>>>> time=0.409 ms
>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2
ttl=64
>>>> time=0.218 ms
>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3
ttl=64
>>>> time=0.252 ms
>>>> ^C
>>>> --- puppet.local.net ping statistics ---
>>>> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
>>>> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms
>>>>
>>>>
>>>>
>>>> root@cloneubuntu:~# puppetd --test --server
"puppet.local.net"
>>>> info: Caching catalog for cloneubuntu.local.net
>>>> info: Applying configuration version
''1317730208''
>>>> notice: Finished catalog run in 0.06 seconds
>>>>
---------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> Master:
>>>>
---------------------------------------------------------------------
>>>> root@puppet:/etc/puppet/manifests# screen
>>>> --- cloneubunutu.local.net ping statistics ---
>>>> 4 packets transmitted, 4 received, 0% packet loss, time 3000ms
>>>> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms
>>>> root@puppet:/etc/puppet# ps ax | grep puppet
>>>> 1563 ? Ssl 0:02 /usr/bin/ruby1.8
/usr/bin/puppetmasterd --
>>>> mkusers
>>>> 1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd
--verbose
>>>> 1912 pts/1 S+ 0:00 grep --color=auto puppet
>>>> root@puppet:/etc/puppet# tree
>>>> .
>>>> âââ auth.conf
>>>> âââ manifests
>>>> â  âââ classes
>>>> â  â  âââ sudo.pp
>>>> â  âââ modules.pp
>>>> â  âââ nodes.pp
>>>> â  âââ site.pp
>>>> âââ modules
>>>> â  âââ sudo
>>>> â  âââ files
>>>> â  â  âââ sudoers
>>>> â  âââ manifests
>>>> â  âââ init.pp
>>>> âââ site.pp
>>>> âââ ssl
>>>> âââ ca
>>>> â  âââ ca_crl.pem
>>>> â  âââ ca_crt.pem
>>>> â  âââ ca_key.pem
>>>> â  âââ ca_pub.pem
>>>> â  âââ inventory.txt
>>>> â  âââ private
>>>> â  â  âââ ca.pass
>>>> â  âââ requests
>>>> â  âââ serial
>>>> â  âââ signed
>>>> â  âââ cloneubuntu.local.net.pem
>>>> â  âââ puppet.local.net.pem
>>>> âââ certificate_requests
>>>> âââ certs
>>>> â  âââ ca.pem
>>>> â  âââ puppet.local.net.pem
>>>> âââ crl.pem
>>>> âââ private
>>>> âââ private_keys
>>>> â  âââ puppet.local.net.pem
>>>> âââ public_keys
>>>> âââ puppet.local.net.pem
>>>>
>>>> 16 directories, 22 files
>>>> root@puppet:/etc/puppet#
>>>>
-----------------------------------------------------------------------
>>>>
>>>>
>>>> I tried to recreate this example:
>>>>
>>>>
http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern
>>>> and edited the sudoers file that is inside the puppet directory
but
>>>> cloneubuntu.local.net (the client) is not writting changes to
/etc/
>>>> sudoers.
>>>>
>>>> It seems nothing has changed.
>>>>
>>>> Please please help me and let me know if you need additional
details.
>>>>
>>>> Thanks
>>>>
>>>>
>>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
It looks like there is communication between the client and the server, From the Master: --------------------------- info: access[^/catalog/([^/]+)$]: allowing ''method'' find info: access[^/catalog/([^/]+)$]: allowing $1 access info: access[^/node/([^/]+)$]: allowing ''method'' find info: access[^/node/([^/]+)$]: allowing $1 access info: access[/certificate_revocation_list/ca]: allowing ''method'' find info: access[/certificate_revocation_list/ca]: allowing * access info: access[/report]: allowing ''method'' save info: access[/report]: allowing * access info: access[/file]: allowing * access info: access[/certificate/ca]: adding authentication no info: access[/certificate/ca]: allowing ''method'' find info: access[/certificate/ca]: allowing * access info: access[/certificate/]: adding authentication no info: access[/certificate/]: allowing ''method'' find info: access[/certificate/]: allowing * access info: access[/certificate_request]: adding authentication no info: access[/certificate_request]: allowing ''method'' find info: access[/certificate_request]: allowing ''method'' save info: access[/certificate_request]: allowing * access info: access[/]: adding authentication any info: Inserting default ''/status''(auth) ACL because none were found in ''/etc/puppet/auth.conf'' info: Expiring the node cache of cloneubuntu.local.net info: Not using expired node for cloneubuntu.local.net from cache; expired at Tue Oct 04 11:00:10 -0700 2011 info: Caching node for cloneubuntu.local.net debug: importing ''/etc/puppet/manifests/classes/sudo.pp'' in environment production notice: Compiled catalog for cloneubuntu.local.net in environment production in 0.06 seconds debug: Recieved report to process from cloneubuntu.local.net debug: Processing report from cloneubuntu.local.net with processor Puppet::Reports::Store info: Expiring the node cache of cloneubuntu.local.net info: Not using expired node for cloneubuntu.local.net from cache; expired at Tue Oct 04 11:02:32 -0700 2011 info: Caching node for cloneubuntu.local.net notice: Compiled catalog for cloneubuntu.local.net in environment production in 0.02 seconds debug: Recieved report to process from cloneubuntu.local.net debug: Processing report from cloneubuntu.local.net with processor Puppet::Reports::Store --------------------------------------- and the client: --------------------------------------- root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/puppet/state] debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: Finishing transaction -610575488 debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/public_keys] debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/private_keys] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: Finishing transaction -611492448 debug: Using cached certificate for ca debug: Using cached certificate for cloneubuntu.local.net notice: Starting Puppet client version 2.7.5 debug: Finishing transaction -611834548 debug: Loaded state in 0.00 seconds debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for cloneubuntu.local.net debug: Using cached certificate_revocation_list for ca info: Caching catalog for cloneubuntu.local.net debug: Creating default schedules debug: Loaded state in 0.00 seconds info: Applying configuration version ''1317751270'' debug: /Schedule[never]: Skipping device resources because running on a host debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: /Schedule[weekly]: Skipping device resources because running on a host debug: Finishing transaction -611172588 debug: Storing state debug: Stored state in 0.01 seconds notice: Finished catalog run in 0.07 seconds debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (yaml) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using yaml ------------------------ but the sudoers file never gets modified..... On Tue, Oct 4, 2011 at 9:45 AM, olympus stance <olympus.stance@gmail.com>wrote:> Here is my ouput from the gems webpage running on cloneubuntu (the client). > > I am stuck, please help :) > > Summary > > There are 3 gems installed: > > facter, puppet, rubygems. > Gems > > facter 1.6.0 [rdoc] [www] > Facter, a system inventory tool > Executable is facter. > > puppet 2.7.5 [rdoc] [www] - depends on facter. > Puppet, an automated configuration management tool > Executables are filebucket, pi, puppet, puppetca, puppetd, puppetdoc, > puppetmasterd, puppetqd, puppetrun, ralsh. > > rubygems 1.3.5 [rdoc] [www] > RubyGems itself > Executable is gem. > > On Tue, Oct 4, 2011 at 9:39 AM, olympus stance <olympus.stance@gmail.com>wrote: > >> Here is more verbose information, amd I missing roledel and pw? >> >> >> From the client: >> ------------------------------------------------ >> root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose >> debug: Failed to load library ''selinux'' for feature ''selinux'' >> debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not >> exist >> debug: Puppet::Type::User::ProviderPw: file pw does not exist >> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl >> does not exist >> debug: Failed to load library ''ldap'' for feature ''ldap'' >> debug: Puppet::Type::User::ProviderLdap: feature ldap is missing >> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature >> microsoft_windows is missing >> debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring >> File[/var/lib/pup pet/state] >> debug: /File[/var/lib/puppet/state/graphs]: Autorequiring >> File[/var/lib/puppet/s tate] >> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: >> Autorequiring Fil e[/etc/puppet/ssl/certs] >> debug: /File[/var/lib/puppet/client_yaml]: Autorequiring >> File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/client_data]: Autorequiring >> File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring >> File[/v ar/lib/puppet/state] >> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring >> File[/etc/pupp et/ssl] >> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] >> debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring >> File[/var/lib/p uppet/state] >> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: >> Autorequir ing File[/etc/puppet/ssl/private_keys] >> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring >> File[/etc/puppet/ssl/c erts] >> debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring >> File[/var/lib/pupp et/state] >> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/clientbucket]: Autorequiring >> File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: >> Autorequiri ng File[/etc/puppet/ssl/public_keys] >> debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring >> File[/va r/lib/puppet/state] >> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] >> debug: Finishing transaction -611017208 >> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]: >> Autorequiri ng File[/etc/puppet/ssl/public_keys] >> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring >> File[/etc/pupp et/ssl] >> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]: >> Autorequiring Fil e[/etc/puppet/ssl/certs] >> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]: >> Autorequir ing File[/etc/puppet/ssl/private_keys] >> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] >> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring >> File[/etc/puppet/ssl/c erts] >> debug: Finishing transaction -611935338 >> debug: Using cached certificate for ca >> debug: Using cached certificate for cloneubuntu.local.net >> notice: Starting Puppet client version 2.7.5 >> debug: Finishing transaction -612277228 >> debug: Loaded state in 0.00 seconds >> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; >> using pson >> debug: Using cached certificate for ca >> debug: Using cached certificate for cloneubuntu.local.net >> debug: Using cached certificate_revocation_list for ca >> >> info: Caching catalog for cloneubuntu.local.net >> debug: Creating default schedules >> debug: Loaded state in 0.00 seconds >> info: Applying configuration version ''1317735274'' >> debug: /Schedule[never]: Skipping device resources because running on a >> host >> debug: /Schedule[daily]: Skipping device resources because running on a >> host >> debug: /Schedule[monthly]: Skipping device resources because running on a >> host >> debug: /Schedule[puppet]: Skipping device resources because running on a >> host >> debug: /Schedule[hourly]: Skipping device resources because running on a >> host >> debug: /Schedule[weekly]: Skipping device resources because running on a >> host >> debug: Finishing transaction -611613148 >> debug: Storing state >> debug: Stored state in 0.01 seconds >> notice: Finished catalog run in 0.07 seconds >> debug: Value of ''preferred_serialization_format'' (pson) is invalid for >> report, u sing default (yaml) >> debug: report supports formats: b64_zlib_yaml marshal raw yaml; using yaml >> -------------------------------------------------- >> >> >> From the master >> ------------------------------------------------- >> root@puppet:~# puppetmasterd --no-daemonize --debug --verbose >> debug: Failed to load library ''selinux'' for feature ''selinux'' >> debug: Failed to load library ''shadow'' for feature ''libshadow'' >> debug: Puppet::Type::User::ProviderPw: file pw does not exist >> debug: Puppet::Type::User::ProviderLdap: true value when expecting false >> debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not >> exist >> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl >> does not exist >> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature >> microsoft_windows is missing >> debug: Failed to load library ''ldap'' for feature ''ldap'' >> debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] >> debug: /File[/etc/puppet/ssl/certs/puppet.local.net.pem]: Autorequiring >> File[/etc/puppet/ssl/certs] >> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] >> debug: /File[/var/lib/puppet/log/masterhttp.log]: Autorequiring >> File[/var/lib/puppet/log] >> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring >> File[/etc/puppet/ssl/certs] >> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] >> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring >> File[/etc/puppet/ssl] >> debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/private_keys/puppet.local.net.pem]: >> Autorequiring File[/etc/puppet/ssl/private_keys] >> debug: /File[/var/lib/puppet/server_data]: Autorequiring >> File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] >> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring >> File[/etc/puppet/manifests] >> debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] >> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] >> debug: /File[/etc/puppet/ssl/public_keys/puppet.local.net.pem]: >> Autorequiring File[/etc/puppet/ssl/public_keys] >> debug: Finishing transaction -610819268 >> debug: /File[/etc/puppet/ssl/ca/inventory.txt]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/requests]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/private]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/ca_key.pem]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/signed]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/ca_pub.pem]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/ca_crl.pem]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/serial]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: /File[/etc/puppet/ssl/ca/private/ca.pass]: Autorequiring >> File[/etc/puppet/ssl/ca/private] >> debug: /File[/etc/puppet/ssl/ca/ca_crt.pem]: Autorequiring >> File[/etc/puppet/ssl/ca] >> debug: Finishing transaction -611630128 >> debug: Using cached certificate for ca >> debug: Using cached certificate for ca >> debug: Using cached certificate for puppet.local.net >> notice: Starting Puppet master version 2.7.5 >> debug: No file server configuration file; autocreating modules mount with >> default permissions >> debug: No file server configuration file; autocreating plugins mount with >> default permissions >> debug: Finishing transaction -610147668 >> info: access[^/catalog/([^/]+)$]: allowing ''method'' find >> info: access[^/catalog/([^/]+)$]: allowing $1 access >> info: access[^/node/([^/]+)$]: allowing ''method'' find >> info: access[^/node/([^/]+)$]: allowing $1 access >> info: access[/certificate_revocation_list/ca]: allowing ''method'' find >> info: access[/certificate_revocation_list/ca]: allowing * access >> info: access[/report]: allowing ''method'' save >> info: access[/report]: allowing * access >> info: access[/file]: allowing * access >> info: access[/certificate/ca]: adding authentication no >> info: access[/certificate/ca]: allowing ''method'' find >> info: access[/certificate/ca]: allowing * access >> info: access[/certificate/]: adding authentication no >> info: access[/certificate/]: allowing ''method'' find >> info: access[/certificate/]: allowing * access >> info: access[/certificate_request]: adding authentication no >> info: access[/certificate_request]: allowing ''method'' find >> info: access[/certificate_request]: allowing ''method'' save >> info: access[/certificate_request]: allowing * access >> info: access[/]: adding authentication any >> info: Inserting default ''/status''(auth) ACL because none were found in >> ''/etc/puppet/auth.conf'' >> info: Expiring the node cache of cloneubuntu.local.net >> info: Not using expired node for cloneubuntu.local.net from cache; >> expired at Tue Oct 04 06:37:18 -0700 2011 >> info: Caching node for cloneubuntu.local.net >> debug: importing ''/etc/puppet/manifests/classes/sudo.pp'' in environment >> production >> notice: Compiled catalog for cloneubuntu.local.net in environment >> production in 0.06 seconds >> debug: Recieved report to process from cloneubuntu.local.net >> debug: Processing report from cloneubuntu.local.net with processor >> Puppet::Reports::Store >> >> ------------------------------------------------------------ >> >> >> >> On Tue, Oct 4, 2011 at 9:30 AM, olympus stance <olympus.stance@gmail.com>wrote: >> >>> I am running Ubuntu, installed puppet through gem. >>> >>> >>> On Tue, Oct 4, 2011 at 8:41 AM, olympus stance <olympus.stance@gmail.com >>> > wrote: >>> >>>> Also this is what my nodes.pp file looks like on the master >>>> >>>> root@puppet:/etc/puppet/manifests# cat nodes.pp >>>> # /etc/puppet/manifests/nodes.pp >>>> >>>> node basenode { >>>> include sudo >>>> } >>>> >>>> node ''cloneubuntu.local.net'' inherits basenode { >>>> } >>>> >>>> >>>> and on the master i am running puppetd and it looks like /etc/sudoers >>>> file hasnt been modified according to settings, note that i added user "red" >>>> in the file /etc/puppet/modules/sudo/files/sudoers >>>> >>>> root@puppet:/etc/puppet/modules/sudo/files# cat sudoers | grep -v "#" >>>> >>>> Defaults env_reset >>>> >>>> >>>> >>>> >>>> root ALL=(ALL) ALL >>>> red ALL=(ALL) ALL >>>> %sudo ALL=(ALL) ALL >>>> >>>> %admin ALL=(ALL) ALL >>>> root@puppet:/etc/puppet/modules/sudo/files# cat /etc/sudoers | grep -v >>>> "#" >>>> >>>> Defaults env_reset >>>> >>>> >>>> >>>> >>>> root ALL=(ALL) ALL >>>> %sudo ALL=(ALL) ALL >>>> >>>> %admin ALL=(ALL) ALL >>>> >>>> >>>> >>>> On Tue, Oct 4, 2011 at 8:30 AM, John Bower <olympus.stance@gmail.com>wrote: >>>> >>>>> Hello, >>>>> >>>>> I have successfully have installed puppetmaster and client on two >>>>> seperate vms. >>>>> >>>>> The client is called "cloneubuntu.local.net" and the master is >>>>> "puppet.local.net" >>>>> >>>>> Certs are also correct, I signed them and everything went well. >>>>> >>>>> Client and Master can ping each other: >>>>> >>>>> Client: >>>>> ----------------------------------------------------- >>>>> root@cloneubuntu:~# ping puppet >>>>> PING puppet.local.net (192.168.10.5) 56(84) bytes of data. >>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=1 ttl=64 >>>>> time=0.409 ms >>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=2 ttl=64 >>>>> time=0.218 ms >>>>> 64 bytes from puppet.local.net (192.168.10.5): icmp_seq=3 ttl=64 >>>>> time=0.252 ms >>>>> ^C >>>>> --- puppet.local.net ping statistics --- >>>>> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms >>>>> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms >>>>> >>>>> >>>>> >>>>> root@cloneubuntu:~# puppetd --test --server "puppet.local.net" >>>>> info: Caching catalog for cloneubuntu.local.net >>>>> info: Applying configuration version ''1317730208'' >>>>> notice: Finished catalog run in 0.06 seconds >>>>> --------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> Master: >>>>> --------------------------------------------------------------------- >>>>> root@puppet:/etc/puppet/manifests# screen >>>>> --- cloneubunutu.local.net ping statistics --- >>>>> 4 packets transmitted, 4 received, 0% packet loss, time 3000ms >>>>> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms >>>>> root@puppet:/etc/puppet# ps ax | grep puppet >>>>> 1563 ? Ssl 0:02 /usr/bin/ruby1.8 /usr/bin/puppetmasterd -- >>>>> mkusers >>>>> 1586 ? Ss 0:00 /usr/bin/ruby1.8 /usr/bin/puppetd --verbose >>>>> 1912 pts/1 S+ 0:00 grep --color=auto puppet >>>>> root@puppet:/etc/puppet# tree >>>>> . >>>>> âââ auth.conf >>>>> âââ manifests >>>>> â  âââ classes >>>>> â  â  âââ sudo.pp >>>>> â  âââ modules.pp >>>>> â  âââ nodes.pp >>>>> â  âââ site.pp >>>>> âââ modules >>>>> â  âââ sudo >>>>> â  âââ files >>>>> â  â  âââ sudoers >>>>> â  âââ manifests >>>>> â  âââ init.pp >>>>> âââ site.pp >>>>> âââ ssl >>>>> âââ ca >>>>> â  âââ ca_crl.pem >>>>> â  âââ ca_crt.pem >>>>> â  âââ ca_key.pem >>>>> â  âââ ca_pub.pem >>>>> â  âââ inventory.txt >>>>> â  âââ private >>>>> â  â  âââ ca.pass >>>>> â  âââ requests >>>>> â  âââ serial >>>>> â  âââ signed >>>>> â  âââ cloneubuntu.local.net.pem >>>>> â  âââ puppet.local.net.pem >>>>> âââ certificate_requests >>>>> âââ certs >>>>> â  âââ ca.pem >>>>> â  âââ puppet.local.net.pem >>>>> âââ crl.pem >>>>> âââ private >>>>> âââ private_keys >>>>> â  âââ puppet.local.net.pem >>>>> âââ public_keys >>>>> âââ puppet.local.net.pem >>>>> >>>>> 16 directories, 22 files >>>>> root@puppet:/etc/puppet# >>>>> ----------------------------------------------------------------------- >>>>> >>>>> >>>>> I tried to recreate this example: >>>>> >>>>> http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern >>>>> and edited the sudoers file that is inside the puppet directory but >>>>> cloneubuntu.local.net (the client) is not writting changes to /etc/ >>>>> sudoers. >>>>> >>>>> It seems nothing has changed. >>>>> >>>>> Please please help me and let me know if you need additional details. >>>>> >>>>> Thanks >>>>> >>>>> >>>> >>> >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Try changing your node definition to this:
node cloneubuntu inherits basenode {
}
On Tue, Oct 4, 2011 at 2:11 PM, olympus stance
<olympus.stance@gmail.com>wrote:
> It looks like there is communication between the client and the server,
>
> From the Master:
> ---------------------------
>
> info: access[^/catalog/([^/]+)$]: allowing ''method'' find
> info: access[^/catalog/([^/]+)$]: allowing $1 access
> info: access[^/node/([^/]+)$]: allowing ''method'' find
> info: access[^/node/([^/]+)$]: allowing $1 access
> info: access[/certificate_revocation_list/ca]: allowing
''method'' find
> info: access[/certificate_revocation_list/ca]: allowing * access
> info: access[/report]: allowing ''method'' save
> info: access[/report]: allowing * access
> info: access[/file]: allowing * access
> info: access[/certificate/ca]: adding authentication no
> info: access[/certificate/ca]: allowing ''method'' find
> info: access[/certificate/ca]: allowing * access
> info: access[/certificate/]: adding authentication no
> info: access[/certificate/]: allowing ''method'' find
> info: access[/certificate/]: allowing * access
> info: access[/certificate_request]: adding authentication no
> info: access[/certificate_request]: allowing ''method''
find
> info: access[/certificate_request]: allowing ''method''
save
> info: access[/certificate_request]: allowing * access
> info: access[/]: adding authentication any
> info: Inserting default ''/status''(auth) ACL because none
were found in
> ''/etc/puppet/auth.conf''
> info: Expiring the node cache of cloneubuntu.local.net
> info: Not using expired node for cloneubuntu.local.net from cache;
> expired at Tue Oct 04 11:00:10 -0700 2011
>
> info: Caching node for cloneubuntu.local.net
> debug: importing ''/etc/puppet/manifests/classes/sudo.pp''
in environment
> production
> notice: Compiled catalog for cloneubuntu.local.net in environment
> production in 0.06 seconds
> debug: Recieved report to process from cloneubuntu.local.net
> debug: Processing report from cloneubuntu.local.net with processor
> Puppet::Reports::Store
> info: Expiring the node cache of cloneubuntu.local.net
> info: Not using expired node for cloneubuntu.local.net from cache; expired
> at Tue Oct 04 11:02:32 -0700 2011
>
> info: Caching node for cloneubuntu.local.net
> notice: Compiled catalog for cloneubuntu.local.net in environment
> production in 0.02 seconds
>
> debug: Recieved report to process from cloneubuntu.local.net
> debug: Processing report from cloneubuntu.local.net with processor
> Puppet::Reports::Store
>
> ---------------------------------------
>
>
> and the client:
>
> ---------------------------------------
> root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose
> debug: Failed to load library ''selinux'' for feature
''selinux''
> debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not
> exist
> debug: Puppet::Type::User::ProviderPw: file pw does not exist
> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl
> does not exist
> debug: Puppet::Type::User::ProviderLdap: true value when expecting false
> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
> microsoft_windows is missing
> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/certs]
>
> debug: /File[/var/lib/puppet/client_yaml]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring
> File[/var/lib/puppet/state]
>
> debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring
> File[/var/lib/puppet/state]
> debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
> File[/var/lib/puppet/state]
> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/private_keys]
> debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
> File[/var/lib/puppet/state]
>
> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring
> File[/var/lib/puppet/state]
>
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring
> File[/var/lib/puppet/state]
> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/public_keys]
>
> debug: /File[/var/lib/puppet/clientbucket]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/client_data]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/etc/puppet/ssl/certs]
> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: Finishing transaction -610575488
>
> debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
> File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
> File[/etc/puppet/ssl]
>
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/public_keys]
> debug: /File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/private_keys]
>
> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/etc/puppet/ssl/certs]
> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
> Autorequiring File[/etc/puppet/ssl/certs]
>
> debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
> debug: Finishing transaction -611492448
>
> debug: Using cached certificate for ca
> debug: Using cached certificate for cloneubuntu.local.net
> notice: Starting Puppet client version 2.7.5
> debug: Finishing transaction -611834548
>
> debug: Loaded state in 0.00 seconds
> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml;
> using pson
> debug: Using cached certificate for ca
> debug: Using cached certificate for cloneubuntu.local.net
> debug: Using cached certificate_revocation_list for ca
> info: Caching catalog for cloneubuntu.local.net
> debug: Creating default schedules
> debug: Loaded state in 0.00 seconds
> info: Applying configuration version ''1317751270''
>
> debug: /Schedule[never]: Skipping device resources because running on a
> host
> debug: /Schedule[daily]: Skipping device resources because running on a
> host
> debug: /Schedule[monthly]: Skipping device resources because running on a
> host
> debug: /Schedule[puppet]: Skipping device resources because running on a
> host
> debug: /Schedule[hourly]: Skipping device resources because running on a
> host
> debug: /Schedule[weekly]: Skipping device resources because running on a
> host
> debug: Finishing transaction -611172588
>
> debug: Storing state
> debug: Stored state in 0.01 seconds
> notice: Finished catalog run in 0.07 seconds
> debug: Value of ''preferred_serialization_format'' (pson)
is invalid for
> report, using default (yaml)
>
> debug: report supports formats: b64_zlib_yaml marshal raw yaml; using yaml
> ------------------------
>
>
>
> but the sudoers file never gets modified.....
>
>
> On Tue, Oct 4, 2011 at 9:45 AM, olympus stance
<olympus.stance@gmail.com>wrote:
>
>> Here is my ouput from the gems webpage running on cloneubuntu (the
>> client).
>>
>> I am stuck, please help :)
>>
>> Summary
>>
>> There are 3 gems installed:
>>
>> facter, puppet, rubygems.
>> Gems
>>
>> facter 1.6.0 [rdoc] [www]
>> Facter, a system inventory tool
>> Executable is facter.
>>
>> puppet 2.7.5 [rdoc] [www] - depends on facter.
>> Puppet, an automated configuration management tool
>> Executables are filebucket, pi, puppet, puppetca, puppetd,
puppetdoc,
>> puppetmasterd, puppetqd, puppetrun, ralsh.
>>
>> rubygems 1.3.5 [rdoc] [www]
>> RubyGems itself
>> Executable is gem.
>>
>> On Tue, Oct 4, 2011 at 9:39 AM, olympus stance
<olympus.stance@gmail.com>wrote:
>>
>>> Here is more verbose information, amd I missing roledel and pw?
>>>
>>>
>>> From the client:
>>> ------------------------------------------------
>>> root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose
>>> debug: Failed to load library ''selinux'' for
feature ''selinux''
>>> debug: Puppet::Type::User::ProviderUser_role_add: file roledel does
not
>>> exist
>>> debug: Puppet::Type::User::ProviderPw: file pw does not exist
>>> debug: Puppet::Type::User::ProviderDirectoryservice: file
/usr/bin/dscl
>>> does not exist
>>> debug: Failed to load library ''ldap'' for feature
''ldap''
>>> debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
>>> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
>>> microsoft_windows is missing
>>> debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring
>>> File[/var/lib/pup pet/state]
>>> debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
>>> File[/var/lib/puppet/s tate]
>>> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
>>> Autorequiring Fil e[/etc/puppet/ssl/certs]
>>> debug: /File[/var/lib/puppet/client_yaml]: Autorequiring
>>> File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/lib]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/client_data]: Autorequiring
>>> File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/state/last_run_summary.yaml]:
Autorequiring
>>> File[/v ar/lib/puppet/state]
>>> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
>>> File[/etc/pupp et/ssl]
>>> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
>>> debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring
>>> File[/var/lib/p uppet/state]
>>> debug:
/File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
>>> Autorequir ing File[/etc/puppet/ssl/private_keys]
>>> debug: /File[/var/lib/puppet/facts]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/run]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
>>> File[/etc/puppet/ssl/c erts]
>>> debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
>>> File[/var/lib/pupp et/state]
>>> debug: /File[/etc/puppet/ssl/private]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/certs]: Autorequiring
File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/clientbucket]: Autorequiring
>>> File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/log]: Autorequiring
File[/var/lib/puppet]
>>> debug:
/File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
>>> Autorequiri ng File[/etc/puppet/ssl/public_keys]
>>> debug: /File[/var/lib/puppet/state/last_run_report.yaml]:
Autorequiring
>>> File[/va r/lib/puppet/state]
>>> debug: /File[/var/lib/puppet/state]: Autorequiring
File[/var/lib/puppet]
>>> debug: Finishing transaction -611017208
>>> debug: /File[/etc/puppet/ssl/certs]: Autorequiring
File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/private]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/log]: Autorequiring
File[/var/lib/puppet]
>>> debug:
/File[/etc/puppet/ssl/public_keys/cloneubuntu.local.net.pem]:
>>> Autorequiri ng File[/etc/puppet/ssl/public_keys]
>>> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
>>> File[/etc/pupp et/ssl]
>>> debug: /File[/etc/puppet/ssl/certs/cloneubuntu.local.net.pem]:
>>> Autorequiring Fil e[/etc/puppet/ssl/certs]
>>> debug: /File[/var/lib/puppet/run]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/facts]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/state]: Autorequiring
File[/var/lib/puppet]
>>> debug:
/File[/etc/puppet/ssl/private_keys/cloneubuntu.local.net.pem]:
>>> Autorequir ing File[/etc/puppet/ssl/private_keys]
>>> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
>>> debug: /File[/var/lib/puppet/lib]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
>>> File[/etc/puppet/ssl/c erts]
>>> debug: Finishing transaction -611935338
>>> debug: Using cached certificate for ca
>>> debug: Using cached certificate for cloneubuntu.local.net
>>> notice: Starting Puppet client version 2.7.5
>>> debug: Finishing transaction -612277228
>>> debug: Loaded state in 0.00 seconds
>>> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw
yaml;
>>> using pson
>>> debug: Using cached certificate for ca
>>> debug: Using cached certificate for cloneubuntu.local.net
>>> debug: Using cached certificate_revocation_list for ca
>>>
>>> info: Caching catalog for cloneubuntu.local.net
>>> debug: Creating default schedules
>>> debug: Loaded state in 0.00 seconds
>>> info: Applying configuration version ''1317735274''
>>> debug: /Schedule[never]: Skipping device resources because running
on a
>>> host
>>> debug: /Schedule[daily]: Skipping device resources because running
on a
>>> host
>>> debug: /Schedule[monthly]: Skipping device resources because
running on a
>>> host
>>> debug: /Schedule[puppet]: Skipping device resources because running
on a
>>> host
>>> debug: /Schedule[hourly]: Skipping device resources because running
on a
>>> host
>>> debug: /Schedule[weekly]: Skipping device resources because running
on a
>>> host
>>> debug: Finishing transaction -611613148
>>> debug: Storing state
>>> debug: Stored state in 0.01 seconds
>>> notice: Finished catalog run in 0.07 seconds
>>> debug: Value of ''preferred_serialization_format''
(pson) is invalid for
>>> report, u sing default (yaml)
>>> debug: report supports formats: b64_zlib_yaml marshal raw yaml;
using
>>> yaml
>>> --------------------------------------------------
>>>
>>>
>>> From the master
>>> -------------------------------------------------
>>> root@puppet:~# puppetmasterd --no-daemonize --debug --verbose
>>> debug: Failed to load library ''selinux'' for
feature ''selinux''
>>> debug: Failed to load library ''shadow'' for
feature ''libshadow''
>>> debug: Puppet::Type::User::ProviderPw: file pw does not exist
>>> debug: Puppet::Type::User::ProviderLdap: true value when expecting
false
>>> debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does
not
>>> exist
>>> debug: Puppet::Type::User::ProviderDirectoryservice: file
/usr/bin/dscl
>>> does not exist
>>> debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
>>> microsoft_windows is missing
>>> debug: Failed to load library ''ldap'' for feature
''ldap''
>>> debug: /File[/var/lib/puppet/yaml]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/state]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/auth.conf]: Autorequiring
File[/etc/puppet]
>>> debug: /File[/etc/puppet/ssl/certs/puppet.local.net.pem]:
Autorequiring
>>> File[/etc/puppet/ssl/certs]
>>> debug: /File[/var/lib/puppet/log]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/var/lib/puppet/log/masterhttp.log]: Autorequiring
>>> File[/var/lib/puppet/log]
>>> debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring
>>> File[/etc/puppet/ssl/certs]
>>> debug: /File[/etc/puppet/ssl/private]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/facts]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/certs]: Autorequiring
File[/etc/puppet/ssl]
>>> debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/reports]: Autorequiring
>>> File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/rrd]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring
>>> File[/etc/puppet/ssl]
>>> debug: /File[/var/lib/puppet/bucket]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/private_keys/puppet.local.net.pem]:
>>> Autorequiring File[/etc/puppet/ssl/private_keys]
>>> debug: /File[/var/lib/puppet/server_data]: Autorequiring
>>> File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
>>> debug: /File[/var/lib/puppet/run]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring
>>> File[/etc/puppet/manifests]
>>> debug: /File[/etc/puppet/manifests]: Autorequiring
File[/etc/puppet]
>>> debug: /File[/var/lib/puppet/lib]: Autorequiring
File[/var/lib/puppet]
>>> debug: /File[/etc/puppet/ssl/public_keys/puppet.local.net.pem]:
>>> Autorequiring File[/etc/puppet/ssl/public_keys]
>>> debug: Finishing transaction -610819268
>>> debug: /File[/etc/puppet/ssl/ca/inventory.txt]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/requests]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/private]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/ca_key.pem]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/signed]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/ca_pub.pem]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/ca_crl.pem]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/serial]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: /File[/etc/puppet/ssl/ca/private/ca.pass]: Autorequiring
>>> File[/etc/puppet/ssl/ca/private]
>>> debug: /File[/etc/puppet/ssl/ca/ca_crt.pem]: Autorequiring
>>> File[/etc/puppet/ssl/ca]
>>> debug: Finishing transaction -611630128
>>> debug: Using cached certificate for ca
>>> debug: Using cached certificate for ca
>>> debug: Using cached certificate for puppet.local.net
>>> notice: Starting Puppet master version 2.7.5
>>> debug: No file server configuration file; autocreating modules
mount with
>>> default permissions
>>> debug: No file server configuration file; autocreating plugins
mount with
>>> default permissions
>>> debug: Finishing transaction -610147668
>>> info: access[^/catalog/([^/]+)$]: allowing
''method'' find
>>> info: access[^/catalog/([^/]+)$]: allowing $1 access
>>> info: access[^/node/([^/]+)$]: allowing ''method''
find
>>> info: access[^/node/([^/]+)$]: allowing $1 access
>>> info: access[/certificate_revocation_list/ca]: allowing
''method'' find
>>> info: access[/certificate_revocation_list/ca]: allowing * access
>>> info: access[/report]: allowing ''method'' save
>>> info: access[/report]: allowing * access
>>> info: access[/file]: allowing * access
>>> info: access[/certificate/ca]: adding authentication no
>>> info: access[/certificate/ca]: allowing ''method''
find
>>> info: access[/certificate/ca]: allowing * access
>>> info: access[/certificate/]: adding authentication no
>>> info: access[/certificate/]: allowing ''method''
find
>>> info: access[/certificate/]: allowing * access
>>> info: access[/certificate_request]: adding authentication no
>>> info: access[/certificate_request]: allowing
''method'' find
>>> info: access[/certificate_request]: allowing
''method'' save
>>> info: access[/certificate_request]: allowing * access
>>> info: access[/]: adding authentication any
>>> info: Inserting default ''/status''(auth) ACL
because none were found in
>>> ''/etc/puppet/auth.conf''
>>> info: Expiring the node cache of cloneubuntu.local.net
>>> info: Not using expired node for cloneubuntu.local.net from cache;
>>> expired at Tue Oct 04 06:37:18 -0700 2011
>>> info: Caching node for cloneubuntu.local.net
>>> debug: importing
''/etc/puppet/manifests/classes/sudo.pp'' in environment
>>> production
>>> notice: Compiled catalog for cloneubuntu.local.net in environment
>>> production in 0.06 seconds
>>> debug: Recieved report to process from cloneubuntu.local.net
>>> debug: Processing report from cloneubuntu.local.net with processor
>>> Puppet::Reports::Store
>>>
>>> ------------------------------------------------------------
>>>
>>>
>>>
>>> On Tue, Oct 4, 2011 at 9:30 AM, olympus stance
<olympus.stance@gmail.com
>>> > wrote:
>>>
>>>> I am running Ubuntu, installed puppet through gem.
>>>>
>>>>
>>>> On Tue, Oct 4, 2011 at 8:41 AM, olympus stance <
>>>> olympus.stance@gmail.com> wrote:
>>>>
>>>>> Also this is what my nodes.pp file looks like on the master
>>>>>
>>>>> root@puppet:/etc/puppet/manifests# cat nodes.pp
>>>>> # /etc/puppet/manifests/nodes.pp
>>>>>
>>>>> node basenode {
>>>>> include sudo
>>>>> }
>>>>>
>>>>> node ''cloneubuntu.local.net'' inherits
basenode {
>>>>> }
>>>>>
>>>>>
>>>>> and on the master i am running puppetd and it looks like
/etc/sudoers
>>>>> file hasnt been modified according to settings, note that i
added user "red"
>>>>> in the file /etc/puppet/modules/sudo/files/sudoers
>>>>>
>>>>> root@puppet:/etc/puppet/modules/sudo/files# cat sudoers |
grep -v "#"
>>>>>
>>>>> Defaults env_reset
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> root ALL=(ALL) ALL
>>>>> red ALL=(ALL) ALL
>>>>> %sudo ALL=(ALL) ALL
>>>>>
>>>>> %admin ALL=(ALL) ALL
>>>>> root@puppet:/etc/puppet/modules/sudo/files# cat
/etc/sudoers | grep -v
>>>>> "#"
>>>>>
>>>>> Defaults env_reset
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> root ALL=(ALL) ALL
>>>>> %sudo ALL=(ALL) ALL
>>>>>
>>>>> %admin ALL=(ALL) ALL
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Oct 4, 2011 at 8:30 AM, John Bower
<olympus.stance@gmail.com>wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have successfully have installed puppetmaster and
client on two
>>>>>> seperate vms.
>>>>>>
>>>>>> The client is called "cloneubuntu.local.net"
and the master is
>>>>>> "puppet.local.net"
>>>>>>
>>>>>> Certs are also correct, I signed them and everything
went well.
>>>>>>
>>>>>> Client and Master can ping each other:
>>>>>>
>>>>>> Client:
>>>>>> -----------------------------------------------------
>>>>>> root@cloneubuntu:~# ping puppet
>>>>>> PING puppet.local.net (192.168.10.5) 56(84) bytes of
data.
>>>>>> 64 bytes from puppet.local.net (192.168.10.5):
icmp_seq=1 ttl=64
>>>>>> time=0.409 ms
>>>>>> 64 bytes from puppet.local.net (192.168.10.5):
icmp_seq=2 ttl=64
>>>>>> time=0.218 ms
>>>>>> 64 bytes from puppet.local.net (192.168.10.5):
icmp_seq=3 ttl=64
>>>>>> time=0.252 ms
>>>>>> ^C
>>>>>> --- puppet.local.net ping statistics ---
>>>>>> 3 packets transmitted, 3 received, 0% packet loss, time
2001ms
>>>>>> rtt min/avg/max/mdev = 0.218/0.293/0.409/0.083 ms
>>>>>>
>>>>>>
>>>>>>
>>>>>> root@cloneubuntu:~# puppetd --test --server
"puppet.local.net"
>>>>>> info: Caching catalog for cloneubuntu.local.net
>>>>>> info: Applying configuration version
''1317730208''
>>>>>> notice: Finished catalog run in 0.06 seconds
>>>>>>
---------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>> Master:
>>>>>>
---------------------------------------------------------------------
>>>>>> root@puppet:/etc/puppet/manifests# screen
>>>>>> --- cloneubunutu.local.net ping statistics ---
>>>>>> 4 packets transmitted, 4 received, 0% packet loss, time
3000ms
>>>>>> rtt min/avg/max/mdev = 0.234/0.467/1.104/0.368 ms
>>>>>> root@puppet:/etc/puppet# ps ax | grep puppet
>>>>>> 1563 ? Ssl 0:02 /usr/bin/ruby1.8
/usr/bin/puppetmasterd --
>>>>>> mkusers
>>>>>> 1586 ? Ss 0:00 /usr/bin/ruby1.8
/usr/bin/puppetd --verbose
>>>>>> 1912 pts/1 S+ 0:00 grep --color=auto puppet
>>>>>> root@puppet:/etc/puppet# tree
>>>>>> .
>>>>>> âââ auth.conf
>>>>>> âââ manifests
>>>>>> â  âââ classes
>>>>>> â  â  âââ sudo.pp
>>>>>> â  âââ modules.pp
>>>>>> â  âââ nodes.pp
>>>>>> â  âââ site.pp
>>>>>> âââ modules
>>>>>> â  âââ sudo
>>>>>> â  âââ files
>>>>>> â  â  âââ sudoers
>>>>>> â  âââ manifests
>>>>>> â  âââ init.pp
>>>>>> âââ site.pp
>>>>>> âââ ssl
>>>>>> âââ ca
>>>>>> â  âââ ca_crl.pem
>>>>>> â  âââ ca_crt.pem
>>>>>> â  âââ ca_key.pem
>>>>>> â  âââ ca_pub.pem
>>>>>> â  âââ inventory.txt
>>>>>> â  âââ private
>>>>>> â  â  âââ ca.pass
>>>>>> â  âââ requests
>>>>>> â  âââ serial
>>>>>> â  âââ signed
>>>>>> â  âââ cloneubuntu.local.net.pem
>>>>>> â  âââ puppet.local.net.pem
>>>>>> âââ certificate_requests
>>>>>> âââ certs
>>>>>> â  âââ ca.pem
>>>>>> â  âââ puppet.local.net.pem
>>>>>> âââ crl.pem
>>>>>> âââ private
>>>>>> âââ private_keys
>>>>>> â  âââ puppet.local.net.pem
>>>>>> âââ public_keys
>>>>>> âââ puppet.local.net.pem
>>>>>>
>>>>>> 16 directories, 22 files
>>>>>> root@puppet:/etc/puppet#
>>>>>>
>>>>>>
-----------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> I tried to recreate this example:
>>>>>>
>>>>>>
http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern
>>>>>> and edited the sudoers file that is inside the puppet
directory but
>>>>>> cloneubuntu.local.net (the client) is not writting
changes to /etc/
>>>>>> sudoers.
>>>>>>
>>>>>> It seems nothing has changed.
>>>>>>
>>>>>> Please please help me and let me know if you need
additional details.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.