search for: host_aliases

Displaying 12 results from an estimated 12 matches for "host_aliases".

Did you mean: host_alias
2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25? Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey'' at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node ext3.fr.xxx.com Jun 1 15:28:48...
2011 Feb 03
3
2.6.2 excluding an exported resource
...localhost there is a collision. Is there any way to accomplish this in 2.6.2? ========================================================= class stagehosts { if $MY_CUSTOM_FACT =~ /BLAH-BLAH/ { @@host { $fqdn: target => ''/etc/hosts'', ip => $ipaddress, host_aliases => [$hostname], tag => stagehosts, } Host <<|tag == ''stagehosts''|>> } } -- 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....
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned: I originally had # Ensure /etc/hosts contains the basics host { "${fqdn}": host_aliases => $hostname, ip => $ipaddress, } And thru some trial and error, got down to this (which puppet-lint does not gripe about) # Ensure /etc/hosts contains the basics host { $fqdn: host_aliases => $hostname, ip => $ipaddress, } Now for a question: puppet-lint does n...
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I read and find a way (well, there seems to be several equal implementations) to collect the ssh keys of machines. However they all give only the choice to choose between the key formats. But is there a way to collect both keys of a machine, the rsa _and_ the dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2010 Mar 26
3
Puppet host alias problem
Hi, I''ve got the following resource: host { "host.domain.com": alias => [ "host", "alias" ], ip => "1.2.3.4", ensure => present, } The resulting line in my /etc/hosts file is: 1.2.3.4 host.domain.com Any alias definitions seem to be ignored? What am I doing wrong? Best regards, Dieter -- You received this message because
2013 Aug 13
2
Collector not realizing own exported resources when filtering on tags
...verified is in puppetdb on both exports. [root@csep0501 ssh]# rpm -qa | grep puppet puppet-3.2.3-1.el5 (where $dsitename is the lowercase version of a global fact) @@sshkey{ "${::fqdn}-ssh-pubkey" : tag => $dsitename, ensure => present, host_aliases => [ $::hostname ], key => $::sshrsakey, name => $::fqdn, type => ''ssh-rsa'', } @@file_line{ "${::fqdn}-shosts.equiv" : tag => $dsitename, path => "/etc/ssh/shosts.equi...
2010 Nov 15
2
bug with using exported resources?
Hello... Is this a bug or by design? I''m using exported resources to generate /etc/ssh/ssh_known_hosts. I changed the example from the docs to this: @@sshkey { "$fqdn,$hostname,$ipaddress": type => rsa, key => $sshrsakey, } so that I would get one line per host in the ssh_know_hosts file. What happened was that on each run several (all?)
2013 Oct 14
3
Managing /etc/hosts without using exported resources
...;d like Puppet to manage /etc/hosts for me and add "neighbouring hosts" only to /etc/hosts. These hosts are determined to be neighbours based on where they are (city/country). For example ($::city and $::country are custom facts): @@host { $::fqdn: ip => $::ipaddress, host_aliases => [ $::hostname ], tag => [ $::city, $::country ], } Host <<| tag == $::city and tag == $::country |>> As I have never used exported resources before, I gave this a try and realised there is more to them than the above config. It looks like I need to install PuppetD...
2012 Jul 11
3
where is ssh_known_hosts file generated by sshkey ?
...another post). class ssh_known_hosts{ case $sshrsakey { '''': { alert("No sshrsakey found for $fqdn") } default: { @@sshkey { $fqdn: ensure => present, host_aliases => [$hostname, $ipaddress], key => $sshrsakey, type => rsa, } } } Sshkey <<||>> } I ran it from clients, host1:/etc/puppet # puppet agent --test...
2012 Mar 29
4
stdlib module not working
I´m trying to utilize the new stdlib module, but got stuck after installation on my puppet server. I´ve tried to use the included test file file_line.pp on the server, but it´s only creating the file - but not managing the content. the same problem on my clients (the new provider file_line has been synced), it´s just not working: file_line { ''puppet master host
2012 Aug 29
4
troubleshooting resource collection
Hi, I''m new to Puppet. And I''m trying out an ssh module: https://github.com/saz/puppet-ssh. It collects ssh keys like this: class ssh::knownhosts { Sshkey <<| |>> { ensure => present, } notify{"knownhosts class: $fqdn $hostname $ipaddress ":} } I can see it echoes the host key of the host the puppet agent runs on. But the
2011 Aug 17
3
Using back-ported create_resources in 2.6.x
...false, $options=false, $sendfile=true, $override=''None'', $order=''allow,deny'', $allowfrom=''all'', $denyfrom=false, $source=false ) { host{ "${name}.$domain": ensure => present, host_aliases => [ $name ], ip => $ipaddress_eth0, } if $create_docroot != false { file { "$docroot": ensure => directory, owner => $docroot_owner ? { false => undef, de...