Re: [Puppet Users] Re: Bolt 1.8.0 now available

2019-01-07 Thread Russell Fulton
Thanks Alex!

I have some messy execs to handle updating software from a bit bucket 
repository (amongst other things).  I take it that would be a good candidate 
for Bolt.
 
> On 8/01/2019, at 6:03 AM, Alex Dreyer  wrote:
> 
> 
> 
> On Sat, Jan 5, 2019 at 6:04 PM Russell Fulton  
> wrote:
> Hi
> 
> I have not come across Bolt before and have been looking at the docs.  It 
> certainly looks like something that I can use.  I am assuming that one 
> installs Bolt on your puppet server?   But it really isn’t clear from the 
> docs which seem to assume you already have the “big picture” of how it fits 
> in with puppet.  The current doc assume a context I don’t have.
> 
> Bolt is a standalone configuration management tool. If can be used with 
> puppet infrastructure to handle orchestration across multiple nodes or ad hoc 
> debugging/changes. It can also manage configuration on nodes that are not 
> running the puppet agent or connected to a master. It's a command line tool 
> with no long running service like puppet server so where you run it depends 
> on your workflow. My general recommendation is to start with it installed on 
> your workstation or laptop and later install it on a bastion or the puppet 
> master only if you need to.

So yo get things going independent of Puppet and then integrate it.  Sounds 
sensible.  I am trying hard to get all the configuration stuff in just one 
place to make it easier for others to maintain so ultimately I want to drive it 
all out of heira data which is generated by a ruby script from a bunch of json 
files.   The system is a multi sensor IDS system running Suricata and Moloch 
(and the associated Elasticsearch machines).

  I am using the organisation (major university) puppet server which I have no 
direct access to and one (horribly bloated) module that gets loaded for my 
machines.   We really should have the enterprise version but costs more that 
folk are prepared to pay.  Such is life ;)

> 
> A couple of higher level paragraphs on the web page or the github README 
> would be a great help.
> 
> I'll see where I can fit this in, thanks.
>  
> 
> Russell
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/6E33021E-596A-48B1-8B75-1CB816621D8A%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/CAMahoJsaCwg8D_LSgQT9ceAb6jvjSEtV_iN-Yqtf_A56_RQYaQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/584BDCF9-F569-457B-BEC8-F7C861A47323%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Bolt 1.8.0 now available

2019-01-05 Thread Russell Fulton
Hi

I have not come across Bolt before and have been looking at the docs.  It 
certainly looks like something that I can use.  I am assuming that one installs 
Bolt on your puppet server?   But it really isn’t clear from the docs which 
seem to assume you already have the “big picture” of how it fits in with 
puppet.  The current doc assume a context I don’t have.

A couple of higher level paragraphs on the web page or the github README would 
be a great help.

Russell

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6E33021E-596A-48B1-8B75-1CB816621D8A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] augtool/augeas -- clearly missing something...

2011-04-12 Thread Russell Fulton

On 13/04/2011, at 4:16 AM, Adam Heinz wrote:

>>  context => "/etc/network/interfaces",
> 
> Shouldn't this be "/files/etc/network/interfaces"?

indeed! now I get:

err: 
/Stage[main]//Node[mon225044.insec.auckland.ac.nz]/Augeas[network_interface]/returns:
 change from need_to_run to 0 failed: Save failed with return code false

so it is now trying to do something. I just have to figure out what!  :)

It had to be something simple.

THanks, Russell

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] trying to push a whole directory...

2010-11-17 Thread Russell Fulton
Hi Folks

I'm a relative newbie to puppet (been playing about a month)...

I am trying to push out a directory containing a bunch of files to a number of 
machines and thought I could do this using the recurse attribute:

   file {
"/home/snort/Rules/raw":
mode=> "750",
owner   => snort,
group   => snort,
source => '/home/sensors/Rules/raw',
   recurse => true,
   ensure => present;
   }

Yeah -- pushing snort rule tarballs to sensors...

however this results in:

err: /Stage[main]/Snort/File[/home/snort/Rules/raw]: Failed to generate 
additional resources using 'eval_generate': undefined method `relative_path' 
for nil:NilClass
err: /Stage[main]/Snort/File[/home/snort/Rules/raw]: Failed to retrieve current 
state of resource: Could not retrieve information from source(s) 
/home/sensors/Rules/raw at /etc/puppet/modules/snort/manifests/init.pp:32

So am I going about this the wrong way or have I got some detail wrong.  

(note to developers:  please 'rescue' this error and provide something 
meaningful to the user ;)
 

Russell

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.