Re: [Puppet Users] ssh module dependency failure

2014-01-16 Thread Tim Dunphy
Hey guys, OK, thanks! So I solved the type-o with the one ':' in the file definition and separated the classes out into 4 different files: showing init.pp class ssh { include ssh::install, ssh::config, ssh::service } showing config.pp class ssh::config { file { "/etc/ssh/sshd_conf

Re: [Puppet Users] ssh module dependency failure

2014-01-16 Thread Andrea Cappelli
Il 16/01/2014 06:25, Tim Dunphy ha scritto: Hi All, [] err: Failed to apply catalog: Could not find dependency Class[Ssh:install] for File[/etc/ssh/sshd_config] at /etc/puppet/modules/ssh/manifests/init.pp:16 [...] class ssh::config { file { "/etc/ssh/sshd_config": ensure => p

Re: [Puppet Users] ssh module dependency failure

2014-01-16 Thread Johan De Wit
Hi, If you have put you class in one big, you will get this error. Every class must have its own pp file modules/ssh/manisfests/init.pp (class ssh) install.pp (class ssh::init) config.pp (class ssh::config) and so on

[Puppet Users] ssh module dependency failure

2014-01-16 Thread Jose Luis Ledesma
I think the error is here: require => Class["ssh:install"] Should be ssh::install Regards -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubs

[Puppet Users] ssh module dependency failure

2014-01-15 Thread Tim Dunphy
Hi All, I'm writing to you today because I am attempting to follow along in the "Pro Puppet" book I am attempting the ssh module example from page 39. I am getting the following error on the client when I try to implement it: [root@beta:~] #puppet agent --test --server puppet.mydomain.com info: