Re: [Puppet Users] Right approach to Windows installers

2012-09-20 Thread Jason_s
Hi Paul, Thanks - good to know. I will double-check our server and client versions today. JS -- 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/-/uDL9bVm9gtAJ.

[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

[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 antidot...@gmail.com wrote: Hi everyone, I have recently updated the puppet-lint: # puppet-lint -v Puppet-lint 0.2.1 # And

[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'

[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.18 on

[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

[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

[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-testing/

[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 manifest=

Re: [Puppet Users] Staging environment

2012-09-20 Thread Gonzalo Servat
On Thu, Sep 20, 2012 at 3:37 PM, Garrett Honeycutt garr...@puppetlabs.comwrote: 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

[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

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 garr...@puppetlabs.com 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

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 use my

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:

[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

[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 ├──

[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 inject my

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 do it ?

[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 mo...@puppetlabs.com wrote: PuppetDB 1.0 is now available! PuppetDB, a component of the Puppet Data Library, is a