[Puppet Users] ssh keys - registering multiple keys onto a same remote account

2012-09-20 Thread Hiu Yen Onn
hi admin, This is the scenario that i am working on. I have a list of keys that need to be registered against one remote account. e.g. key1=[ '', 'Y', 'ZZZ'] this is my ssh_authorized_keys code ssh_authorized_key { "user1": name => "user1@$fqdn",

[Puppet Users] checksum => mtime don't work discarding changes ({mtime} vs {mtime}

2012-09-20 Thread PP
Hello, with puppet 2.7.19-1.el6 , I try to have the same create file for all syslog file. the definiton class class logrotate { # OS detection $logrotate_file = $operatingsystem ? { default => "/etc/logrotate.d/syslog" } # Sudoers file declaration f

[Puppet Users] puppet-lint status error

2012-09-20 Thread Antidot SAS
Hi everyone, I have recently updated the puppet-lint: # puppet-lint -v Puppet-lint 0.2.1 # And now I don't have error status comming up: # puppet-lint --no-80chars-check --no-2sp_soft_tabs-check --no-hard_tabs-check --no-autoloader_layout-check --fail-on-warnings manifests/s_templates/s_ntp.pp ;

Re: [Puppet Users] puppet-lint status error

2012-09-20 Thread Erik Dalén
I believe it was fixed in https://github.com/rodjek/puppet-lint/pull/141 But it might not have been released yet as a gem. On 20 September 2012 10:34, Antidot SAS wrote: > Hi everyone, > > > I have recently updated the puppet-lint: > # puppet-lint -v > Puppet-lint 0.2.1 > # > > And now I don't ha

[Puppet Users] Re: ssh keys - registering multiple keys onto a same remote account

2012-09-20 Thread Paul Tötterman
Hi Hiu, > key1=[ '', 'Y', 'ZZZ'] > ... > key => $key1, > http://docs.puppetlabs.com/references/latest/type.html#sshauthorizedkey does not suggest that the provider would support an array for key. I suggest doing something like: $user = 'user' ssh_authorize

[Puppet Users] Service[ssh] not known - Debian

2012-09-20 Thread Jones
Hi folks, has my puppet nuts? It worked perfectly. It's too bad that we don't have monday... that would explain everything :D example: *sshd_config{* *"PermitRootLogin": value => "no",* *notify => Service['ssh'],* *}* Am I stupid? puppet version: 2.7.

[Puppet Users] dashboard md5 diff

2012-09-20 Thread Antidot SAS
Hi everyone, On my dashboard, for everynode on the 'event' tab I am able to click on the 'content changed' (the md5 sum seems to be a link) but when I do I get a window with 'getaddrinfo: Name or service not known' Here is the error on the dahsboard: Processing FilesController#show (for 10.63.1.

[Puppet Users] other manifest file in different environment

2012-09-20 Thread Axel Bock
Hello readers, I have a little thing here. I am configuring my environment to have a separate manifest file, using the [ENV] blocks and the manifest= setting in puppet.conf. So far, so good. Now if I run the puppet agent on the client machine, the catalog does seem to be empty. I deliberately

[Puppet Users] Re: Puppet testing

2012-09-20 Thread llowder
On Wednesday, September 19, 2012 4:52:46 PM UTC-5, Jason_s wrote: > > Hi, > > It sounds like you would like to reduce some of the boilerplate code > around your testing? I happened to notice this article you may find useful: > > http://puppetlabs.com/blog/the-next-generation-of-puppet-module-tes

[Puppet Users] Re: Service[ssh] not known - Debian

2012-09-20 Thread jcbollinger
On Thursday, September 20, 2012 4:06:15 AM UTC-5, Jones wrote: > > Hi folks, > > has my puppet nuts? > > It worked perfectly. It's too bad that we don't have monday... that would > explain everything :D > > example: > > *sshd_config{* > *"PermitRootLogin": value => "no",* > *

[Puppet Users] Puppet and disks

2012-09-20 Thread Andrey Kononov
Hi all, I`m interesting to configure my service depending on count hard drives but facter haven`t any variable about disks, may be you now how i can do it ? For example I have 5 types of servers with 3, 4, 6, 8 disks if i have 3 disks I wan`t create config of my service with parameter "disks=3"

[Puppet Users] Re: other manifest file in different environment

2012-09-20 Thread Axel Bock
Disregard, it seems to work now for some reason. thanks anyways! Axel. Am Donnerstag, 20. September 2012 14:43:47 UTC+2 schrieb Axel Bock: > > Hello readers, > > I have a little thing here. I am configuring my environment to have a > separate manifest file, using the [ENV] blocks and the manif

Re: [Puppet Users] Staging environment

2012-09-20 Thread Gonzalo Servat
On Thu, Sep 20, 2012 at 3:37 PM, Garrett Honeycutt wrote: > Hiera[2] is meant to solve this. You might have staging.yaml and > production.yaml that specify values for mysql_innodb_buffer_pool_size. > Another scenario I've found is that we also add certain users if $::environment is production, an

[Puppet Users] Using puppet with desktop Windows

2012-09-20 Thread cesar cruz
Friends i have a problem with several desktops that are not compliance with some Securities policies eg: patch, , i would like to know if can to Fix this problem Using puppet -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discuss

Re: [Puppet Users] Staging environment

2012-09-20 Thread Garrett Honeycutt
On 9/19/12 10:43 PM, Gonzalo Servat wrote: > On Thu, Sep 20, 2012 at 3:37 PM, Garrett Honeycutt > mailto:garr...@puppetlabs.com>> wrote: > > No need at all to use a different puppet master, you could just use > environments[1]. When you want to test a system again a different > environ

Re: [Puppet Users] Puppet and disks

2012-09-20 Thread Garrett Honeycutt
On 9/20/12 6:33 AM, Andrey Kononov wrote: > Hi all, I`m interesting to configure my service depending on count hard > drives but facter haven`t any variable about disks, may be you now how i > can do it ? For example I have 5 types of servers with 3, 4, 6, 8 disks > if i have 3 disks I wan`t create

[Puppet Users] puppet and std

2012-09-20 Thread Fabrice Bacchella
I'm running puppet on a Centos 5.8 I'm trying to launch puppet as a daemon and it fail silently. --debug provides no help So I tried to strace it, I'm getting this : 1845 close(0) = 0 1845 open("/dev/null", O_RDONLY) = 0 1845 close(1) =

[Puppet Users] Re: Machines not using local mirror

2012-09-20 Thread jcbollinger
On Wednesday, September 19, 2012 12:13:43 PM UTC-5, Bai Shen wrote: > > I'm not sure if this is a cobbler or puppet issue, so please forgive the > crossposting. > > I configured some repos in cobbler and set the local mirror flag. > However, when I use puppet to install packages, they don't us

Re: [Puppet Users] puppet and std

2012-09-20 Thread Jo Rhett
Are you starting puppet by hand, or using service? Try doing it by hand. And you can always "strace -s 2048" and see the entire message. On Sep 20, 2012, at 8:49 AM, Fabrice Bacchella wrote: > I'm running puppet on a Centos 5.8 > > I'm trying to launch puppet as a daemon and it fail silently. --

[Puppet Users] Announce: PuppetDB 1.0 Available

2012-09-20 Thread Moses Mendoza
PuppetDB 1.0 is now available! PuppetDB, a component of the Puppet Data Library, is a centralized storage daemon for auto-generated data. This initial release of PuppetDB targets the storage of catalogs and facts. Much more information is available on the Puppet Labs blog: http://puppetlabs.com/

[Puppet Users] Re: ssh keys - registering multiple keys onto a same remote account

2012-09-20 Thread Hiu
hi Paul, I am pretty to code the puppet codes. I try the options that you suggested about creating the define type. But, I am still stuck in the middle. Here is my code. $pub_keys=['XX', 'Y', 'ZZ' ] define add_authkeys (user="hiu", key) { ssh_authorized_key { "$hiu":

[Puppet Users] collect facter output of puppet client remotely from the puppetmaster

2012-09-20 Thread Hiu
hi all, I would like to gather for the information that facter -p from the puppet client from a puppet master. How can i do it? thanks! -- 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.go

[Puppet Users] rspec testing - what am I missing?

2012-09-20 Thread denmat
Hi all, There is something amiss with what I am doing. I believe the following should work. puppetlabs_spec_helper (0.3.0) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) rspec-puppet (0.1.4) . ├── manifests │   └── init.pp ├── Rakefile └── spec ├── classe

[Puppet Users] duplicated public keys in authorized keys

2012-09-20 Thread Hiu
hi Admin, How are you? I have a easy ssh_authorized_key like below ssh_authorized_key { "hiu@$fqdn": name => "hiu@$fqdn", ensure => present, type => ssh-rsa, key => $keys, user => hiu, } I manage to in

Re: [Puppet Users] Puppet and disks

2012-09-20 Thread Andrey Kononov
четверг, 20 сентября 2012 г., 18:45:54 UTC+4 пользователь Garrett Honeycutt написал: > On 9/20/12 6:33 AM, Andrey Kononov wrote: > > > Hi all, I`m interesting to configure my service depending on count hard > > > drives but facter haven`t any variable about disks, may be you now how i > > > can

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.0 Available

2012-09-20 Thread Erik Dalén
Great work! But what are the changes since 0.11.0? It would also be interesting to see a roadmap of post 1.0 features that are planned. On 21 September 2012 02:03, Moses Mendoza wrote: > PuppetDB 1.0 is now available! > > PuppetDB, a component of the Puppet Data Library, is a centralized storag

[Puppet Users] PuppetDB - HA

2012-09-20 Thread ollies...@googlemail.com
Hello, So in my company I have put in this fully load-balanced (behind F5) solution with multiple PM's/CA's/ENC and a single entry client entry point no matter where the servers are located globally - puppet. and the F5 will point you as local as possible and the rest do their thing. Now say we