HI,
I am new here.and I have a request to refresh the mount point through
puppet for 1000+ servers.
per the native mount type, it seems that it only use 'umount' command ,
but I want to use 'umount -l' on Linux and 'umount -f' on Solaris and AIx.
zxhu@vlsh-puppet1:/var/log$ sudo puppet agent
> Hi,
>
> 2012/11/23 Evelio VILA >
>
>> Hi guys,
>>
>> i have a hiera.yaml config file like this:
>>
>> ---
>> :hierarchy:
>> - %{env}/%{tmp_module_name}
>> - %{env}/%{tmp_module_name}.common
>> :backends:
>> - yaml
>> :yaml:
>> :datadir: '/etc/puppet/hieradata'
>>
>>
>> I also ha
Answering the requirement you could do something like.
Facter.add("websites_number") do
setcode do
websites = %x{/bin/ls $websitesdir}.split("\n")
0.upto(websites - 1).each do |n|
Facter.add("website_#{n}") do
setcode do
websites[n]
end
end
websites.
>
> <%= scope.function_hiera([cluster['port']]) %>
>
using the var name or the string direclty wont work...
<%= scope.function_hiera([var['port']]) %>
evelio
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web
Overall it works like a
> > charm, but sometimes (eg. 1/30) discovery fails.
>
> does mco ping exhibit the same behavior if you run it often? Does it
> tend to happen more after a period of the collective being idle or just
> really randomly?
>
Am facing the same problem where the discovery fai
Hi ,
I need help here. I am running my master on RHEL 64 bit and I am trying
to connect my agent from Solaris running on Solaris 10.
I have put the entries for both master and agent on /etc/hosts. I have also
updated the /etc/puppet/puppet.conf for the master. When I ping the master
the serve
First.. chill pill..
Joking.
Plz copy ur puppetmasterd logging.
On Mon, Nov 26, 2012 at 5:41 AM, Rajeev Iyer wrote:
> Hi ,
>
> I need help here. I am running my master on RHEL 64 bit and I am trying
> to connect my agent from Solaris running on Solaris 10.
> I have put the entries for both m
On 25 November 2012 21:36, Ugo Bellavance wrote:
> Ok, but it looks like foreman is not fully puppet-3 compatible up to now. I
> think I'll wait for that.
We have all the required changes for puppet-3 compatibility in the
develop branches of foreman and foreman-proxy - hoping to get a
release ca
Hello,
I have recently discover hiera, and I would like to use it for creating
users on my node.
I first think of someting like that :
common.yaml
> lusers : - jodoe
> - jadoe
>
classes : - users
>
serv01.foo.com.yaml
> lusers : - Alice
> - Bob
>
modules/users/manifest
:-D
When I was checking, it seems like port 8140 is not open. I think I need to
investigate further.
Rajeev
On Monday, November 26, 2012 3:50:56 PM UTC+5:30, showy wrote:
>
> First.. chill pill..
>
>
> Joking.
>
> Plz copy ur puppetmasterd logging.
>
> On Mon, Nov 26, 2012 at 5:41 AM, Rajeev I
Hello,
2012/11/25 Olivier Bazoud
> Hello,
>
> I would like to dump into a single file (via an erb template for example)
> all keys and values from a hiera hierarchy. My use case is to share this
> generated file with applications configuration (java, php, nodejs, ...).
>
> How can do this? Is th
On Wednesday, November 21, 2012 1:02:02 PM UTC-6, Ellison Marks wrote:
>
> Thought I'd ask around here before I go file a bug report.
>
> Basically, I have a few machines administered by puppet which have an
> unreliable internet connection. They talk to my puppetmaster on an internal
> network
On Wednesday, November 21, 2012 10:41:48 AM UTC-6, KomodoDave wrote:
>
> Actually this is interesting: the 'path' parameter has a default value of
> the title. So if you don't specify the path yet specify an array for the
> title, I wonder what the internal logic is?
>
> Intriguing...
>
>
You a
Excellent information there John. Thank you for taking time to explain so
clearly.
Dave
On Monday, November 26, 2012 2:38:39 PM UTC, jcbollinger wrote:
>
>
>
> On Wednesday, November 21, 2012 10:41:48 AM UTC-6, KomodoDave wrote:
>>
>> Actually this is interesting: the 'path' parameter has a def
On Sunday, November 25, 2012 4:45:27 AM UTC-6, Craig Dunn wrote:
>
> On 23/11/2012 23:03, fpommier wrote:
>
> Hi,
> I use puppet 2.7.16
> i try to use hiera to store file data
> yaml file :
> apt:
> '/etc/apt/preferences.d':
> ensure: directory
> recurse: true
> source: "pup
On Friday, November 23, 2012 9:05:07 AM UTC-6, badbishop wrote:
>
> A quote from http://docs.puppetlabs.com/references/latest/type.html#exec
>
> refreshHow to refresh this command. By default, the exec is just called
>> again when it receives an event from another resource, but this parameter
>
On Friday, November 23, 2012 11:19:11 AM UTC-6, mickael avedissian wrote:
>
> Hi,
>
> I'm having an issue trying to pass an array parameter for a hiera lookup
>
> hiera.yaml:
> :hierarchy:
> - some_place/%{hostnames}
>
> dummy_host.yaml:
> ---
> host: 'dummy_host'
> instances:
> dummy01:1.2.3
On Saturday, November 24, 2012 1:17:54 PM UTC-6, Smashed wrote:
>
> class Foo {
>
> require A
>
> … some other stuff
>
> }
>
>
> class A {
>
> include B
>
> include C
>
> include D
>
> }
>
>
> When structured like this does this mean that A,B,C and D will all be
> processed before Foo?
>
Class
On Sunday, November 25, 2012 11:57:36 PM UTC-6, go8ose wrote:
>
> I've got an exported exec that looks like:
>
> 38 @@exec { "commvault_subclient_$hostname":
> 39 command => "/usr/local/sbin/commvault_auto_subclient
> --touchstamp /srv/mnt/.$hostname_commvault_backed_up
On Monday, November 26, 2012 2:33:54 AM UTC-6, 胡振翔 wrote:
>
> HI,
>
> I am new here.and I have a request to refresh the mount point through
> puppet for 1000+ servers.
>
> per the native mount type, it seems that it only use 'umount' command ,
> but I want to use 'umount -l' on Linux and 'umou
On Tuesday, November 20, 2012 3:32:07 PM UTC-6, llowder wrote:
>
> I was going through the open bugs and came across an interesting one[1],
> where if a node has a certain name, and includes a class of the same name,
> the class doesn't get loaded.
>
> I did discover a workaround - two of them,
On Monday, November 26, 2012 10:10:06 AM UTC-6, jcbollinger wrote:
>
>
>
> On Tuesday, November 20, 2012 3:32:07 PM UTC-6, llowder wrote:
>>
>> I was going through the open bugs and came across an interesting one[1],
>> where if a node has a certain name, and includes a class of the same name,
I am searching for a number of technical reviewers for a Puppet
Beginner's Guide that is currently in production. You need to have
good technical knowledge, and be able to spare a few hours every
couple of weeks to review the chapters. Please get in touch if you're
interested!
--
You received thi
On Wednesday, November 21, 2012 3:57:46 AM UTC-6, Alex Stanhope wrote:
>
> Hi Jakov,
>
> On 21 November 2012 02:03, Jakov Sosic wrote:
>>
>> exec{'first':
>> command => 'cd /tmp && wget mykey',
>> creates => '/tmp/mykey',
>> }
>>
>> exec{'second':
>> command => 'echo "" > /tmp/mykey | tee -
I would be interested in this. Looks like a good project.
John
John Kennedy
Government - Never underestimate the power of stupid people in large groups.
The Dunning-Kruger effect occurs when incompetent people not only fail to
realize their incompetence, but consider themselves much more compete
PS - I just finished reviewing the Nagio Core Cookbook.
John
John Kennedy
Government - Never underestimate the power of stupid people in large groups.
The Dunning-Kruger effect occurs when incompetent people not only fail to
realize their incompetence, but consider themselves much more competent
On Tuesday, November 20, 2012 6:11:17 PM UTC-6, Forrie wrote:
>
> Thanks, I went ahead and added an "exit 1" at the bottom of each of
> these scripts to shut it up.
That's probably not quite right, but maybe it will work well enough for you.
> At least, in the case of the cups-
> confi
On Wednesday, November 21, 2012 12:13:22 PM UTC-6, Hugh Cole-Baker wrote:
>
> Using puppet 3.0.1 I ran into an odd scoping problem - I've got a class
> called 'lettuce' in a module named testtools, like this:
>
> class testtools::lettuce {
> require pip
>
> Package {
> provider =
Hi Oliver,
On Wed, Nov 21, 2012 at 8:08 AM, r0k5t4r wrote:
> I just started using puppet agent on windows 32Bit and my manfiests are
> working good so far. Now when using the same manifests on a 64Bit Windows
> machine I get trouble about the very special Program Files path. :(
Facter 1.6.10 wil
On Friday, November 16, 2012 5:44:09 AM UTC-6, Gavin Williams wrote:
>
> However still looks like if one of the *:options *doesn't match, then the
> whole lot gets set again... I guess that's a reasonable logic in that if
> one doesn't match, it's quite possible other's don't match, so set them
You might look into the create_resources function. The example given is
creating users even.
http://docs.puppetlabs.com/references/latest/function.html#createresources
On Monday, November 26, 2012 3:00:17 AM UTC-8, AnOnJoe wrote:
>
> Hello,
> I have recently discover hiera, and I would like to u
On Thursday, November 22, 2012 6:23:06 AM UTC-6, Mon wrote:
>
>
>
>
> Hello all,
>>
>> We have a problem with puppet and certain kind of machines from our farm
>> (+300), those with Supermicro X8SIE motherboard. Sometime when running
>> puppet the machine crashes, we lose access to it and loggi
John
Cheers again, that could be a good alternative way of doing it... Use
insync? just to trigger options=, and then work out what actually needs
setting there...
Cheers
Gav
On Nov 26, 2012 5:42 PM, "jcbollinger" wrote:
>
>
> On Friday, November 16, 2012 5:44:09 AM UTC-6, Gavin Williams wrote:
On Sun, Nov 25, 2012 at 8:56 AM, Mark wrote:
> Trying to figure out if these would behave the same or not?
>
> Example 1:
> -
>
> class Foo {
> require Bar
> someresource { 'baz':
> …. # This depends on A,B and C being already completed
> }
> }
>
> class Bar {
> in
On Saturday, November 24, 2012 10:28:44 AM UTC-6, bluethundr wrote:
>
> Is there a way using puppet to delete the home directories recursively of
> employees who have left the company?
>
> So far I've tried:
>
>file { "/export/home/user":
> name => "$home_dir/user",
> ensure
tidy puppet type works recursively too.
On Mon, Nov 26, 2012 at 2:19 PM, jcbollinger wrote:
>
>
> On Saturday, November 24, 2012 10:28:44 AM UTC-6, bluethundr wrote:
>>
>> Is there a way using puppet to delete the home directories recursively of
>> employees who have left the company?
>>
>> So fa
On Sunday, November 25, 2012 10:56:40 AM UTC-6, Smashed wrote:
>
> Trying to figure out if these would behave the same or not?
>
> Example 1:
> -
>
> class Foo {
> require Bar
> someresource { 'baz':
> …. # This depends on A,B and C being already completed
> }
On Monday, November 26, 2012 5:00:17 AM UTC-6, AnOnJoe wrote:
>
> Hello,
> I have recently discover hiera, and I would like to use it for creating
> users on my node.
>
> I first think of someting like that :
>
>
> common.yaml
>
>> lusers : - jodoe
>> - jadoe
>>
> classes : - users
>>
On Monday, November 26, 2012 12:19:09 PM UTC-6, Gavin Williams wrote:
>
> John
>
> Cheers again, that could be a good alternative way of doing it... Use
> insync? just to trigger options=, and then work out what actually needs
> setting there...
>
That's not just a good alternative, it's the
Hi.
I'm wondering is there a way to manage ssh servers, in a way that every
machine has it's own key?
I'm talking about these files:
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/ssh_host_key
/etc/ssh/ssh_host_key.pub
I
On Mon, Nov 26, 2012 at 1:47 PM, Jakov Sosic wrote:
> Hi.
>
> I'm wondering is there a way to manage ssh servers, in a way that every
> machine has it's own key?
I've used the "private" file server mechanism to serve out node sensitive files.
The following snippet shows this:
class ssh::config(
Take a look at https://github.com/gtcoc/sshkeys for an idea. It isn't
documented well (yet), so here are some rough notes:
* the module assumes you are using hiera to supply default arguments.
you can see the default values in the hieradata directory
* the sshkeys::hostkeys class best shows how i
That sounds interesting! I'm game if you still need some.
Jason
On 11/26/2012 07:32 AM, joan...@packtpub.com wrote:
I am searching for a number of technical reviewers for a Puppet
Beginner's Guide that is currently in production. You need to have
good technical knowledge, and be able to spare
Gah :) I hate it when lists set the reply to to the list.
Sorry,
Jason
On 11/26/2012 04:32 PM, Jason Slagle wrote:
That sounds interesting! I'm game if you still need some.
Jason
On 11/26/2012 07:32 AM, joan...@packtpub.com wrote:
I am searching for a number of technical reviewers for a P
On Monday, November 26, 2012 6:32:36 AM UTC-6, joa...@packtpub.com wrote:
>
> I am searching for a number of technical reviewers for a Puppet
> Beginner's Guide that is currently in production. You need to have
> good technical knowledge, and be able to spare a few hours every
> couple of week
On Fri, Nov 23, 2012 at 2:46 PM, Alaric wrote:
> Hi,
>
> I'm having a weird issue and was wondering if anyone else had run into it. I
> recently upgraded from puppet 2.7 -> 3.0.1 After cleaning up some gems on my
> puppet master everything seemed to be working ok. I had originally used the
>
John,
Again, very helpful...
My knowledge of puppet is growing every day thanks to posts like this :-)
Cheers
Gavin
On Nov 26, 2012 7:30 PM, "jcbollinger" wrote:
>
>
> On Monday, November 26, 2012 12:19:09 PM UTC-6, Gavin Williams wrote:
>>
>> John
>>
>> Cheers again, that could be a good alter
On 11/26/2012 08:54 PM, Matt Zagrabelny wrote:
> file { "/etc/ssh/ssh_host_rsa_key.pub":
> source => "puppet:///private/etc/ssh/ssh_host_rsa_key.pub",
I didn't know about this one, do I need any special configuration of the
puppetmaster for this to work, or is this a builtin?
--
You rece
On Mon, Nov 26, 2012 at 4:05 PM, Jakov Sosic wrote:
> On 11/26/2012 08:54 PM, Matt Zagrabelny wrote:
>
>> file { "/etc/ssh/ssh_host_rsa_key.pub":
>> source => "puppet:///private/etc/ssh/ssh_host_rsa_key.pub",
>
> I didn't know about this one, do I need any special configuration of the
> pup
On Nov 26, 2012, at 4:46 PM, Michael Stahnke wrote:
>
> I tried to reproduce this and just couldn't. Does this happen on
> other systems?
>
> Is there any more information you could think of?
>
Sadly, it's happening on every RHEL5 system I have! All packages are either
RedHat or EPEL, o
I'm looking at Puppet as a configuration manager solution, and I was
wondering
Why is there a puppet user and group?
I realize the obvious answer is that Puppet won't run w/o it, but I don't
understand
why it just wasn't set up with root access.
thanks in advance,
george
--
You received th
In regard to: Re: [Puppet Users] Managing ssh server's keys?, Matt...:
Here is my fileserver.conf:
[private]
path /etc/puppet/private/%h
allow *
FWIW, we're handling ssh keys and other sensitive full-file content nearly
identically, although we we chose "/secure" rather than "/private" an
I am definitely interested in this. I've years of experience with Puppet
and have worked on mentoring junior team members so I've seen a lot of the
beginner problems close up. I'm happy to review anything you throw my way.
I have been toying with the idea of writing a Puppet book for months now,
Greetings -
Hoping to hear from hunner or one of the other maintainers of the
puppetlabs corosync module - there is a note on the git project page that
there is currently no way to configure STONITH. Is this information
current?
If so, has anybody come up with a simple method of managing ST
Because standard systems administration practice is to rarely if ever run
anything at all as root. This practice, generally speaking, will not pass
ITIL, SOX, HIPAA, or PCI compliance auditing, and if something like Puppet
(which has complete run of your system) ran as root, you could easily de
Jerald Sheets writes:
> Because standard systems administration practice is to rarely if ever
> run anything at all as root. This practice, generally speaking, will
> not pass ITIL, SOX, HIPAA, or PCI compliance auditing, and if
> something like Puppet (which has complete run of your system) r
Aaron Grewell writes:
> To answer OP's question, the Puppet Master runs as user/group puppet. The
> agent runs as root.
Which is, of course, entirely desirable. puppetmaster needs access only
to a limited set of files, which it needs only to serve to agents, and
hence is best run in a dedicate
In regard to: Re: [Puppet Users] New to Puppet -- why the puppet user,...:
Because standard systems administration practice is to rarely if ever
run anything at all as root.
When it doesn't require root, that's absolutely true. This relates to
the principle of least privilege.
However, the p
On Thu, Nov 22, 2012 at 1:42 AM, shell heriyanto
wrote:
> Hi Jeff, thanks for reply,
> I also read that book, its work for puppet 2.x, but now i try with puppet 3
> with puppetdb,
> Ruby (Rack) application could not be started,
> Error message:
> undefined method `settings' for Puppet:Module
> Exc
On Wed, Nov 21, 2012 at 5:24 AM, Jakov Sosic wrote:
> On 11/15/2012 11:04 PM, Rajul Vora wrote:
>>
>> I am trying to add ability to add virtual users to
>> the git://github.com/erwbgy/puppet-system.git module as I really want
>
> I've run into same exact problem yesterday, and found patch that Nan
On Mon, Nov 26, 2012 at 2:16 PM, Alaric wrote:
>
> On Nov 26, 2012, at 4:46 PM, Michael Stahnke wrote:
>
>>
>> I tried to reproduce this and just couldn't. Does this happen on
>> other systems?
>>
>> Is there any more information you could think of?
>>
>
>
> Sadly, it's happening on every RHEL5
Darin has given the right answer,
Just branch the package, and submit a request.
Don't forget to add a comment in puppet.changes file before you submit it.
--
Niels
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on th
Thanks for the info. I will have a try. :)
在 2012年11月27日星期二UTC+8上午12时02分49秒,jcbollinger写道:
>
>
>
> On Monday, November 26, 2012 2:33:54 AM UTC-6, 胡振翔 wrote:
>>
>> HI,
>>
>> I am new here.and I have a request to refresh the mount point through
>> puppet for 1000+ servers.
>>
>> per the native moun
63 matches
Mail list logo