[First, I''m an experienced Linux admin, but new to puppet.] I''m trying to setup razor, which really needs a DHCP server. So I''m following the guide here ( http://puppetlabs.com/blog/puppet-razor-module/ ), which points to a DHCP module. That module has a line in tests/init.pp ("require => Bind::Key[ $ddnskeyname ],") which fails out when I try to run puppet: root@razor:/etc/puppet/modules# puppet apply dhcp/tests/init.pp Could not find dependency Bind::Key[dhcp_updater] for Class[Dhcp] at /etc/puppet/modules/dhcp/tests/init.pp:15 I''m assuming that there''s a module that supplies this class(?), but I have no idea which module to use: root@razor:/etc/puppet/modules# puppet module search bind Searching http://forge.puppetlabs.com ... NAME DESCRIPTION AUTHOR KEYWORDS DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking root@razor:/etc/puppet/modules# puppet module search dns Searching http://forge.puppetlabs.com ... NAME DESCRIPTION AUTHOR KEYWORDS DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones DavidSchmitt-dnsmasq Manage dnsmasq, the lightweight DHCP and DNS server @DavidSchmitt networking dns dhcp dnsmasq ghoneycutt-dnsclient manages /etc/resolv. @ghoneycutt dns resolver networking ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel vchoi-dnsclient Puppet module to manage dns resolver in puppet @vchoi dns resolver resolv_conf resolv resolvconf ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns blkwolf-dhcpd Install and configure dhcpd server with ddns to master dns server @blkwolf dns dhcp saz-dnsmasq Manage dnsmasq via Puppet @saz debian ubuntu dns dnsmasq networking dhcp saz-resolv_conf Manage resolv. @saz debian ubuntu nameserver dnsmasq resolv resolvconf larstobi-dns This is the Puppet DNS module. @larstobi dns aws route53 zleslie-unbound A module to deploy and manage the Unbound caching resolver. @zleslie dns unbound crashdummyMCH-dynect puppet module to manage dynect dns through puppet and the ruby dynect_rest gem module. @crashdummyMCH dns dynect thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking sessionm-djbdns Puppet module for installing DJBDNS Can anyone tell me which module to use, and more importantly, how to figure out which module to use? Or if it''s not a module I need, then point me towards what I need to get past this error? Thanks, Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/_TTMaSGxjMQJ. 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.
Anyone? On Monday, August 6, 2012 4:58:53 PM UTC-5, Paul Archer wrote:> > [First, I''m an experienced Linux admin, but new to puppet.] > I''m trying to setup razor, which really needs a DHCP server. So I''m > following the guide here ( http://puppetlabs.com/blog/puppet-razor-module/), which points to a DHCP module. That module has a line in tests/init.pp > ("require => Bind::Key[ $ddnskeyname ],") which fails out when I try > to run puppet: > root@razor:/etc/puppet/modules# puppet apply dhcp/tests/init.pp > Could not find dependency Bind::Key[dhcp_updater] for Class[Dhcp] at > /etc/puppet/modules/dhcp/tests/init.pp:15 > > I''m assuming that there''s a module that supplies this class(?), but I have > no idea which module to use: > root@razor:/etc/puppet/modules# puppet module search bind > Searching http://forge.puppetlabs.com ... > NAME DESCRIPTION > AUTHOR KEYWORDS > > DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. > @DavidSchmitt bind > nameserver dns zones > ghoneycutt-bind class bind - base class for all bind server > types @ghoneycutt repo svn > bind dns zones caching services > freiheit-bindserver Module for configuring bind servers on RHEL5 > @freiheit redhat > bind dns resolver caching rhel > ingent-bind This module manages BIND and its master DNS zones. > @ingent bind > initr networking dns > blkwolf-bind Installs and configures a master bind dns server. > @blkwolf bind dns > > thias-bind Install and enable a BIND DNS server, create and > manage DNS zone files. @thias bind > dns rhel CentOS networking > root@razor:/etc/puppet/modules# puppet module search dns > Searching http://forge.puppetlabs.com ... > NAME DESCRIPTION > AUTHOR KEYWORDS > > DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. > @DavidSchmitt bind > nameserver dns zones > DavidSchmitt-dnsmasq Manage dnsmasq, the lightweight DHCP and DNS server > @DavidSchmitt > networking dns dhcp dnsmasq > ghoneycutt-dnsclient manages /etc/resolv. > @ghoneycutt dns > resolver networking > ghoneycutt-bind class bind - base class for all bind server > types @ghoneycutt repo svn > bind dns zones caching services > freiheit-bindserver Module for configuring bind servers on RHEL5 > @freiheit redhat > bind dns resolver caching rhel > vchoi-dnsclient Puppet module to manage dns resolver in puppet > @vchoi dns > resolver resolv_conf resolv resolvconf > ingent-bind This module manages BIND and its master DNS zones. > @ingent bind initr > networking dns > blkwolf-bind Installs and configures a master bind dns server. > @blkwolf bind dns > > blkwolf-dhcpd Install and configure dhcpd server with ddns to > master dns server @blkwolf dns > dhcp > saz-dnsmasq Manage dnsmasq via Puppet > @saz debian > ubuntu dns dnsmasq networking dhcp > saz-resolv_conf Manage resolv. > @saz debian > ubuntu nameserver dnsmasq resolv resolvconf > larstobi-dns This is the Puppet DNS module. > @larstobi dns aws > route53 > zleslie-unbound A module to deploy and manage the Unbound caching > resolver. @zleslie dns > unbound > crashdummyMCH-dynect puppet module to manage dynect dns through puppet > and the ruby dynect_rest gem module. @crashdummyMCH dns > dynect > thias-bind Install and enable a BIND DNS server, create and > manage DNS zone files. @thias bind > dns rhel CentOS networking > sessionm-djbdns Puppet module for installing DJBDNS > > > Can anyone tell me which module to use, and more importantly, how to > figure out which module to use? Or if it''s not a module I need, then point > me towards what I need to get past this error? > > Thanks, > > Paul > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/5pmJT6ophfgJ. 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.
On Mon, Aug 6, 2012 at 2:58 PM, Paul Archer <geek65535@gmail.com> wrote:> [First, I''m an experienced Linux admin, but new to puppet.] > I''m trying to setup razor, which really needs a DHCP server. So I''m following the guide here ( http://puppetlabs.com/blog/puppet-razor-module/ ), which points to a DHCP module. That module has a line in tests/init.pp ("require => Bind::Key[ $ddnskeyname ],") which fails out when I try to run puppet: > root@razor:/etc/puppet/modules# puppet apply dhcp/tests/init.pp > Could not find dependency Bind::Key[dhcp_updater] for Class[Dhcp] at /etc/puppet/modules/dhcp/tests/init.pp:15 > > I''m assuming that there''s a module that supplies this class(?), but I have no idea which module to use: > root@razor:/etc/puppet/modules# puppet module search bind > Searching http://forge.puppetlabs.com ... > NAME DESCRIPTION AUTHOR KEYWORDS > DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones > ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services > freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel > ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns > blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns > thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking > root@razor:/etc/puppet/modules# puppet module search dns > Searching http://forge.puppetlabs.com ... > NAME DESCRIPTION AUTHOR KEYWORDS > DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones > DavidSchmitt-dnsmasq Manage dnsmasq, the lightweight DHCP and DNS server @DavidSchmitt networking dns dhcp dnsmasq > ghoneycutt-dnsclient manages /etc/resolv. @ghoneycutt dns resolver networking > ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services > freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel > vchoi-dnsclient Puppet module to manage dns resolver in puppet @vchoi dns resolver resolv_conf resolv resolvconf > ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns > blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns > blkwolf-dhcpd Install and configure dhcpd server with ddns to master dns server @blkwolf dns dhcp > saz-dnsmasq Manage dnsmasq via Puppet @saz debian ubuntu dns dnsmasq networking dhcp > saz-resolv_conf Manage resolv. @saz debian ubuntu nameserver dnsmasq resolv resolvconf > larstobi-dns This is the Puppet DNS module. @larstobi dns aws route53 > zleslie-unbound A module to deploy and manage the Unbound caching resolver. @zleslie dns unbound > crashdummyMCH-dynect puppet module to manage dynect dns through puppet and the ruby dynect_rest gem module. @crashdummyMCH dns dynect > thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking > sessionm-djbdns Puppet module for installing DJBDNS > > > Can anyone tell me which module to use, and more importantly, how to figure out which module to use? Or if it''s not a module I need, then point me towards what I need to get past this error?The blog post gave an example dhcp manifests, and you should adjust the settings to match your environment prior to deployment. The dhcp/tests/init.pp manifest is just an example, and for the purpose of using Razor you don''t really need either lines below (they enable dynamic dns updates https://github.com/puppetlabs/puppetlabs-dhcp/blob/master/templates/dhcpd.conf.ddns.erb): dnsupdatekey => "/etc/bind/keys.d/$ddnskeyname", require => Bind::Key[ $ddnskeyname ], You want to review dhcp::pool and dhcp::host settings as well. If you simply want to try it out, Stephen Johnson, one of Puppet Labs'' professional service engineer, create a vagrant demo environment based on Ben Burkert demo from github: https://github.com/stephenrjohnson/razor-puppet-puppetdb-demo https://github.com/benburkert/razor-vagrant-demo/ Stephen''s demo should be boiled down to a simple rake task and ''vagrant up'' command. Thanks, Nan -- 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.
On Tue, Aug 7, 2012 at 10:45 AM, Nan Liu <nan@puppetlabs.com> wrote:> On Mon, Aug 6, 2012 at 2:58 PM, Paul Archer <geek65535@gmail.com> wrote: >> [First, I''m an experienced Linux admin, but new to puppet.] >> I''m trying to setup razor, which really needs a DHCP server. So I''m following the guide here ( http://puppetlabs.com/blog/puppet-razor-module/ ), which points to a DHCP module. That module has a line in tests/init.pp ("require => Bind::Key[ $ddnskeyname ],") which fails out when I try to run puppet: >> root@razor:/etc/puppet/modules# puppet apply dhcp/tests/init.pp >> Could not find dependency Bind::Key[dhcp_updater] for Class[Dhcp] at /etc/puppet/modules/dhcp/tests/init.pp:15 >> >> I''m assuming that there''s a module that supplies this class(?), but I have no idea which module to use: >> root@razor:/etc/puppet/modules# puppet module search bind >> Searching http://forge.puppetlabs.com ... >> NAME DESCRIPTION AUTHOR KEYWORDS >> DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones >> ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services >> freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel >> ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns >> blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns >> thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking >> root@razor:/etc/puppet/modules# puppet module search dns >> Searching http://forge.puppetlabs.com ... >> NAME DESCRIPTION AUTHOR KEYWORDS >> DavidSchmitt-bind Manages ISC''s bind and its zones line-by-line. @DavidSchmitt bind nameserver dns zones >> DavidSchmitt-dnsmasq Manage dnsmasq, the lightweight DHCP and DNS server @DavidSchmitt networking dns dhcp dnsmasq >> ghoneycutt-dnsclient manages /etc/resolv. @ghoneycutt dns resolver networking >> ghoneycutt-bind class bind - base class for all bind server types @ghoneycutt repo svn bind dns zones caching services >> freiheit-bindserver Module for configuring bind servers on RHEL5 @freiheit redhat bind dns resolver caching rhel >> vchoi-dnsclient Puppet module to manage dns resolver in puppet @vchoi dns resolver resolv_conf resolv resolvconf >> ingent-bind This module manages BIND and its master DNS zones. @ingent bind initr networking dns >> blkwolf-bind Installs and configures a master bind dns server. @blkwolf bind dns >> blkwolf-dhcpd Install and configure dhcpd server with ddns to master dns server @blkwolf dns dhcp >> saz-dnsmasq Manage dnsmasq via Puppet @saz debian ubuntu dns dnsmasq networking dhcp >> saz-resolv_conf Manage resolv. @saz debian ubuntu nameserver dnsmasq resolv resolvconf >> larstobi-dns This is the Puppet DNS module. @larstobi dns aws route53 >> zleslie-unbound A module to deploy and manage the Unbound caching resolver. @zleslie dns unbound >> crashdummyMCH-dynect puppet module to manage dynect dns through puppet and the ruby dynect_rest gem module. @crashdummyMCH dns dynect >> thias-bind Install and enable a BIND DNS server, create and manage DNS zone files. @thias bind dns rhel CentOS networking >> sessionm-djbdns Puppet module for installing DJBDNS >> >> >> Can anyone tell me which module to use, and more importantly, how to figure out which module to use? Or if it''s not a module I need, then point me towards what I need to get past this error? > > The blog post gave an example dhcp manifests, and you should adjust > the settings to match your environment prior to deployment. The > dhcp/tests/init.pp manifest is just an example, and for the purpose of > using Razor you don''t really need either lines below (they enable > dynamic dns updates > https://github.com/puppetlabs/puppetlabs-dhcp/blob/master/templates/dhcpd.conf.ddns.erb): > > dnsupdatekey => "/etc/bind/keys.d/$ddnskeyname", > require => Bind::Key[ $ddnskeyname ], > > You want to review dhcp::pool and dhcp::host settings as well. > > If you simply want to try it out, Stephen Johnson, one of Puppet Labs'' > professional service engineer, create a vagrant demo environment based > on Ben Burkert demo from github: > > https://github.com/stephenrjohnson/razor-puppet-puppetdb-demo > https://github.com/benburkert/razor-vagrant-demo/ > > Stephen''s demo should be boiled down to a simple rake task and > ''vagrant up'' command.One last thing, you can Stephen''s manifests as an example since it deploys dhcp: https://github.com/stephenrjohnson/razor-puppet-puppetdb-demo/blob/master/manifests/provision.pp All the dependencies are listed in the librarian-puppet file: https://github.com/stephenrjohnson/razor-puppet-puppetdb-demo/blob/master/Puppetfile Nan -- 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 appreciate you responding, but this really doesn''t help. It doesn''t answer my questions at all. OK, I could just ignore these lines, but I really hate the idea of not using something because I don''t have the documentation or I don''t understand it. And what if I need DDNS? But the big thing is that this seems to be referencing another module. At the very least, the string ''Bind'' exists only in the README and the tests/init.pp files. But how do I determine which module? And if it''s not a module, then what? On Tuesday, August 7, 2012 12:45:17 PM UTC-5, Nan Liu wrote:> > > The blog post gave an example dhcp manifests, and you should adjust > the settings to match your environment prior to deployment. The > dhcp/tests/init.pp manifest is just an example, and for the purpose of > using Razor you don''t really need either lines below (they enable > dynamic dns updates > > https://github.com/puppetlabs/puppetlabs-dhcp/blob/master/templates/dhcpd.conf.ddns.erb): > > > dnsupdatekey => "/etc/bind/keys.d/$ddnskeyname", > require => Bind::Key[ $ddnskeyname ], > > You want to review dhcp::pool and dhcp::host settings as well. > > If you simply want to try it out, Stephen Johnson, one of Puppet Labs'' > professional service engineer, create a vagrant demo environment based > on Ben Burkert demo from github: > > https://github.com/stephenrjohnson/razor-puppet-puppetdb-demo > https://github.com/benburkert/razor-vagrant-demo/ > > Stephen''s demo should be boiled down to a simple rake task and > ''vagrant up'' command. > > Thanks, > > Nan >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/C_IHE8smFEkJ. 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.
On Tue, Aug 7, 2012 at 11:55 AM, Paul Archer <geek65535@gmail.com> wrote:> I appreciate you responding, but this really doesn''t help. It doesn''t answer > my questions at all.The bind module referenced isn''t available publicly, so no it''s not published anywhere.> OK, I could just ignore these lines, but I really hate the idea of not using > something because I don''t have the documentation or I don''t understand it. > And what if I need DDNS?The define resource is creating a file at: /etc/bind/keys.d/${name} If you wish to use ddns, you can create a file resource file { ''/etc/bind/keys.d/example'': content => "key ... ", } Update the dhcp class to: dnsupdatekey => "/etc/bind/keys.d/example", require => File["/etc/bind/keys.d/example"],> But the big thing is that this seems to be referencing another module. At > the very least, the string ''Bind'' exists only in the README and the > tests/init.pp files. But how do I determine which module? And if it''s not a > module, then what?If you look at the example provided in the previous email, there''s no hard dependency on the bind module. Maybe the best thing to do at the moment is to remove reference to the bind key resource in the readme and example test manifests since that seems to be causing confusion. Thanks, Nan -- 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.