Hello,
I have a variety of hashes that have similar content:
$h = {
'foo1' => 'bar',
[...]
'foo99' => 'baz',
'foo100' => 'h',
}
$g = {
'foo1' => 'bar',
[...]
'foo99' => 'baz',
'foo100' => 'g',
}
I'd like to have a function or similar mechanism:
$h = helper_modul
On Fri, Apr 15, 2022 at 12:34 PM Matt Zagrabelny wrote:
> Hi Martin,
>
> Thanks for the email. I understand your concerns about using other
> backends. We have a reasonably small puppet deployment, so I think I will
> try a DB based backend and see how it performs.
>
>
write new backends.
> Please note that the hiera3 backends are not compatible with hiera5!
> https://puppet.com/docs/puppet/7/hiera_custom_backends.html
>
> Hth,
> Martin
>
>
> On 14. Apr 2022, at 04:30, 'Matt Zagrabelny' via Puppet Users <
> puppet-users@
Greetings,
I'm running puppet 5.5.
Is anyone aware of a hiera 5 Pg backend?
I've tried getting the hiera 3 module [0] working, but am struggling. I'm
hoping a native hiera 5 will be a smoother experience.
Thanks for the help!
-m
[0] https://github.com/rogeduardo/hiera-psql
--
You received t
> ❯ cat profile/facts.d/fail2ban.sh
> #!/bin/sh
> FAIL2BAN="/usr/bin/fail2ban-client"
> [ -x ${FAIL2BAN} ] && echo fail2ban_version=$(/usr/bin/fail2ban-client
> --version)
>
> ❯ cat profile/manifests/test3.pp
> class profile::test3 {
> if $facts["
Greetings,
I have a puppetdb installation that I leverage by querying from my
manifests.
I'd like to have a boolean-like operation for puppetdb that pretty much
tests if the current node has a given class as part of the catalog. Here is
my current code:
$query = [
'resour
Greetings,
I use lookup to get data out of hiera:
node some-host {
class { 'foo':
$bar = lookup('bar')
}
}
I'd like to be able to query puppetdb to find out what hosts use various
hiera keys.
So in the above example. Given bar return some-host.
I know I can write a parser to g
On Sat, Mar 28, 2020 at 10:05 AM Henrik Lindberg
wrote:
> On 2020-03-28 14:36, Matt Zagrabelny wrote:
> >
> >
> > On Sat, Mar 28, 2020 at 7:31 AM Henrik Lindberg
> > mailto:henrik.lindb...@puppet.com>> wrote:
> >
> > On 2020-03-28 02:42
On Sat, Mar 28, 2020 at 7:31 AM Henrik Lindberg
wrote:
> On 2020-03-28 02:42, Matt Zagrabelny wrote:
> > Greetings,
> >
> > Suppose I have a class foo that host A gets via its catalog. Suppose
> > host B does not have foo in its catalog. Can host B do anything
Greetings,
Suppose I have a class foo that host A gets via its catalog. Suppose host B
does not have foo in its catalog. Can host B do anything malicious to
obtain the sensitive data in foo?
My puppet master is using an ENC to generate the classification of each
host and then a roles + profiles d
Greetings,
I've looked through the puppetdb docs, in particular the PQL docs, to find
out if I can extract a single parameter in the return value(s).
I have as a PQL:
resources[parameters] { type = "Postgresql::Server::Pg_hba_rule" and
parameters.address ~ "."}
I'd like to get the "address" par
epo/pull/435
Cheers!
-m
On Tue, Dec 3, 2019 at 10:56 AM Matt Zagrabelny wrote:
> Greetings,
>
> I am attempting to specify an identity with a vcsrepo resource. Such as:
>
> vcsrepo { '/opt/src/repository':
> ensure => present,
> provider =&
On Tue, Dec 3, 2019 at 11:23 AM Yvan Broccard
wrote:
> Don't forget the "user", "group" and "owner" parameter. For example, from
> one of my manifests :
>
Hmmm
> -> vcsrepo {'oracle-scripts':
> ensure => 'latest',
> path => "${hvs_oracle::oradb::admindir}/oracle-scripts",
>
Greetings,
I am attempting to specify an identity with a vcsrepo resource. Such as:
vcsrepo { '/opt/src/repository':
ensure => present,
provider => git,
revision => 'stable',
source => 'ssh://gitol...@git.example.com/repository.git',
identity => '/r
Hey David,
Thanks for the reply!
On Tue, Sep 17, 2019 at 5:58 AM David Schmitt
wrote:
> The most recent releases of puppetserver have an API endpoint specifically
> designed for this usecase:
> https://puppet.com/docs/puppetserver/latest/puppet-api/v4/catalog.html
>
Okay. I'm only on puppet 5.
Greetings,
I'm using puppet 5.5.10 (Debian Buster).
>From the puppet master system, I'm trying to get all the resources in a
catalog for a given node.
On a node "foo.example.com" I can with:
foo# puppet catalog find --terminus json | wc -l
6271
but on the master I've tried:
puppet# puppet cat
Hello,
I'm running puppet 5.5 OSE.
I've got a class foo:
class foo {
$bar = 'hi'
}
class foo::configure {
file { '/tmp/foo.conf':
content => template('foo/foo.conf.erb'),
}
}
and then in the template:
<%= scope['foo::bar'] %>
but suppose I want to access an out of class v
On Tue, Jan 22, 2019 at 4:22 PM Ben Ford wrote:
> Caps all segments in a defined type name:
>
> before => Bar::Baz['qux'],
>
>
>
Huzzah!
Thanks Ben!
-m
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop r
Greetings!
I'm running puppet 5.5 on Debian Buster.
This exists:
define bar::baz() {
file { "/tmp/$name": }
}
...somewhere else...
bar::baz { 'qux': }
file { '/tmp/foo':
before => Bar::baz['qux'],
}
But when the catalog gets compiled I get an error:
Evaluation Error: Error while eva
On Mon, Jan 7, 2019 at 3:31 PM Matt Zagrabelny wrote:
> Greetings puppet-users!
>
> For many years I have been using the following convention for including my
> classes:
>
> class foo() {
> include ::profile::bar
> }
>
> I know I don't need the leading doub
Greetings puppet-users!
For many years I have been using the following convention for including my
classes:
class foo() {
include ::profile::bar
}
I know I don't need the leading double colon for including profile::bar,
but at one point in time I thought it may have been a best practice or i
Greetings!
I'm working on migrating my puppet 3.7 environment to puppet 5.5 (Debian
testing.)
How are folks serving private per-node data in puppet 5? (i.e. ssh keys,
apache cert and key, etc.)
In both puppet 2.7 and 3.7 I've used:
$ cat /etc/puppet/fileserver.conf
# This file consists of arbit
Hey Justin,
Thanks for the reply!
On Wed, Oct 31, 2018 at 10:49 PM Justin Stoller wrote:
> What happens on the agent that is running on the master?
>
Works as expected. Thus indicting the firewall.
Digging deeper... it looks like Debian testing bit me. But I don't blame
them - I know I'm trac
On Wed, Oct 31, 2018 at 11:23 AM Matt Zagrabelny wrote:
> Greetings,
>
> I'm running puppet 5.5.6 (Debian testing).
>
> I'm having issues getting the master to see the cert signing request from
> an agent.
>
> The firewall isn't an issue. I see the pack
Greetings,
I'm running puppet 5.5.6 (Debian testing).
I'm having issues getting the master to see the cert signing request from
an agent.
The firewall isn't an issue. I see the packets hit an "allow" rule on the
master, but I've also turned the firewall off.
tcpdump shows the packets reaching t
On Tue, Oct 30, 2018 at 5:10 PM Justin Stoller wrote:
>
>
> On Tue, Oct 30, 2018 at 2:34 PM Matt Zagrabelny
> wrote:
>
>> Greetings,
>>
>> I'm running puppet 5.5.6 (Debian testing.)
>>
>> I'm seeing some curious and inconsistent res
Greetings,
I'm running puppet 5.5.6 (Debian testing.)
I'm seeing some curious and inconsistent results from where I put config
settings in /etc/puppet/puppet.conf. When I use the [master] heading, the
"external_nodes" setting is read by the puppet master:
# cat /etc/puppet/puppet.conf
[master]
n
On Tue, Apr 4, 2017 at 4:41 PM, warron.french
wrote:
> Hello, I need some guidance/direction on what to lookup and where I can
> find an example of how to provide values to a class so that they will be
> used by the class (and the ERBtemplate within).
>
> I want to be able to provide the variable
On Sat, Nov 19, 2016 at 2:27 PM, Martijn wrote:
> Op dinsdag 18 oktober 2016 21:50:37 UTC+2 schreef Matt Zagrabelny:
>>
>>
>> If you use an ENC, then you can return the role as a top scope
>> variable and your hiera configs can leverage those top scope
>> variabl
On Thu, Nov 10, 2016 at 6:25 AM, Victor Martinez
wrote:
> Hi there,
>
>I've been looking for a way of creating an erb file which contains all
> the facter values. Any ideas how I can accomplish it? Reason: I'd like to
> generate custom facters per module and populate those facter values as
> J
On Tue, Oct 25, 2016 at 2:09 PM, Ugo Bellavance wrote:
> Hi,
>
> I was actually wondering if it could be done without an ENC as we don't have
> one for now.
Not sure. I don't think so, though. I would work on getting an ENC set up.
-m
--
You received this message because you are subscribed to
On Tue, Oct 18, 2016 at 1:34 PM, Ugo Bellavance wrote:
> Hi,
>
> I've seen tutorials where they add the role as a fact in an client and then
> can use the role for hiera data. Is there a better way to do so (ie without
> having to configure anything on the client)?
As a matter of fact there is a
On Tue, Aug 16, 2016 at 8:04 AM, jcbollinger wrote:
>>
>> On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt wrote:
>> > What version of Puppet are you running?
>>
>> Debian Jessie:
>>
>> 3.7.2-4
>>
>
>
> That looks like bug PUP-1220. Note that although the ticket is marked as
> being fixed in Puppet
Hi Lowe,
On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt wrote:
> What version of Puppet are you running?
Debian Jessie:
3.7.2-4
-m
> --
> Lowe Schmidt | +46 723 867 157
>
> On 15 August 2016 at 20:48, Matt Zagrabelny wrote:
>>
>> Greetings!
>>
>> I am
Greetings!
I am hitting a curious question and couldn't find an answer.
I can access variables from other classes when using an erb template.
Here is my minimal example:
# puppet apply variable_scope_test.pp
Notice: Compiled catalog for puppet.example.com in environment
production in 0.12 secon
On Tue, Jul 12, 2016 at 3:28 PM, Matthew Pounsett
wrote:
>
>
> On Monday, 11 July 2016 10:31:45 UTC-4, R.I. Pienaar wrote:
>>
>>
>> best avoid create_resources in puppet 4 :)
>
>
> Why is that?
I can't speak for R.I., but I believe puppet 4 has "first class"
looping constructs. Thus, create_reso
On Mon, Jun 6, 2016 at 9:46 AM, Simon Weald wrote:
> Hi everyone
>
> I've got a little bit of an issue which I'm currently fighting with. At the
> moment, we pass an array of packages to be installed to the package
> resource, however I need to call an apt-get update prior to the package
> install
Hi!
On Thu, Jun 2, 2016 at 9:24 AM, Warron French wrote:
> Is there a limit to the number of questions that I can post to Google Groups
> or this list... in a single day?
Nope. :)
-m
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubsc
On Wed, Mar 23, 2016 at 3:04 PM, Hunter Haugen wrote:
> Given the resource you want to apply this pattern to, it can be turned into
> a one-liner with a collector:
>
> file { '/tmp/something':
> ensure => file,
> }
> File['/tmp/something'] ~> Service <| title == 'apache2' |>
Can you combine the
On Wed, Mar 23, 2016 at 3:04 PM, Hunter Haugen wrote:
> Given the resource you want to apply this pattern to, it can be turned into
> a one-liner with a collector:
>
> file { '/tmp/something':
> ensure => file,
> }
> File['/tmp/something'] ~> Service <| title == 'apache2' |>
>
> This means that
Greetings Puppet Users,
I have a chuck of code I'd like to centralize - you know DRY.
I've looked into a custom function, but I'm uncertain how to get at
the the puppet resources inside of ruby.
Here is the verbatim copy of the chuck in a puppet manifest:
if defined(Service['apache2']) {
$s
Greetings,
I know that the puppet.conf documentation exists in extreme detail:
http://docs.puppetlabs.com/puppet/3.7/reference/configuration.html
What that page doesn't tell me is if the config items map to the
[agent] or [master] sections of the config file.
Does anyone know if that data exist
Hi Martin,
On Sat, Jan 30, 2016 at 5:03 AM, Martin Alfke wrote:
> Hi Matt,
>
> an ENC can set an environment for a node.
Yep. I'm using an ENC to set the environment to 'apt'.
> In case that a node does not specify an environment it will make use of
> environment production.
> You can specify
Hi Alfredo,
Thanks for the reply.
On Wed, Jan 27, 2016 at 4:47 PM, Alfredo De Luca
wrote:
> Hi Matt.
> AFAIK production is the default environment assigned to all the nodes.
Sure.
> try
> puppet config print environment
Yep, production:
# puppet config print environment
production
So how do
Greetings,
I've searched a bit and found some hits for the subject, but nothing that helps.
I'm using an ENC to drive the environment of my nodes.
I don't have "production" defined anywhere in my puppet.conf:
# grep production /etc/puppet/puppet.conf || echo "not there"
not there
and it is not
On Thu, Jan 7, 2016 at 5:41 PM, Matt Zagrabelny wrote:
> On Thu, Jan 7, 2016 at 5:35 PM, Peter Kristolaitis wrote:
>> Apparently I was a little too quick on the send button. :(
>>
>> To continue my previous email:
>>
>> Does 'puppet cert list --all' s
On Thu, Jan 7, 2016 at 5:35 PM, Peter Kristolaitis wrote:
> Apparently I was a little too quick on the send button. :(
>
> To continue my previous email:
>
> Does 'puppet cert list --all' show any certs at all?
Yep:
# puppet cert list --all
+ "puppet-client-1.example.net" (SHA256)
A3:73:DC:
he master to
"accept" the CSR from the client.
-m
>
> On 1/7/2016 6:17 PM, Matt Zagrabelny wrote:
>>
>> Greetings,
>>
>> I am attempting to get a puppet 3.7 install off the ground. Please
>> don't ask me to upgrade to 4.X series. :)
>>
Greetings,
I am attempting to get a puppet 3.7 install off the ground. Please
don't ask me to upgrade to 4.X series. :)
On the puppet master (puppet-3-7.example.net):
# puppet master --no-daemonize --debug
[...]
Info: Not Found: Could not find certificate puppet-client.example.net
Debug: Routes R
On Fri, Dec 11, 2015 at 11:54 AM, Sergiu Cornea
wrote:
> Hello guys,
>
> I have an ENC which is producing the right data as far as I could have test
> it (copy and paste it in a yaml file), however, when I am using Puppet
> directly Puppet seems to do nothing with it.
Try running something like:
On Wed, Nov 11, 2015 at 9:42 AM, Matt Zagrabelny wrote:
> Greetings,
>
> I'm getting ready to spin up a puppet 3.7 environment (Debian Jessie)
> and was reading about the top level $facts hash that holds the
> client's facts. The puppet documentation states that it is off
Greetings,
I'm getting ready to spin up a puppet 3.7 environment (Debian Jessie)
and was reading about the top level $facts hash that holds the
client's facts. The puppet documentation states that it is off by
default in the open source version [1].
"Drawbacks: Only works with Puppet 3.5 or later
On Tue, Mar 31, 2015 at 10:16 AM, Dhaval wrote:
> Hello,
>
> I am starting learning puppet, i want to understand what is the difference
> between roles and profiles and ENV and Hiera ? are all different ways of
> assigning classes or data to host ? can you help to give me brief comparison
> and wh
On Tue, Sep 23, 2014 at 2:03 PM, Gabriel Filion wrote:
> On 23/09/14 12:11 PM, Nate Wolfe wrote:
>> We are thrilled to announce the preview release of Puppet Server, our
>> newest open source project.
>> Puppet Server is a next-generation alternative to our current Puppet
>> master, which builds o
On Fri, Jul 18, 2014 at 1:37 AM, Dejan Golja wrote:
> We tried with yas3fs, but we abandoned that solution because was just not
> reliable enough. Also we considered GlusterFS, but again on some other
> projects the experience wasn't great.
>
> So my question is how you guys manage that ?
DRBD?
> On Wed, Jul 16, 2014 at 10:24:26AM -0400, Betsy Schwartz wrote:
>>I'm still sort of boggled that nobody seems to be using puppet for
>>/etc/passwd. That always seemed to us to be the *first* thing we'd want to
>>get under centralized control.
We use nsswitch.
% man nsswitch.conf
%
On Sun, Jul 13, 2014 at 3:01 PM, Betsy Schwartz
wrote:
> Is this, indeed, a Solved Problem? What is everyone else doing?
> thanks Betsy
Disclaimer:
I am not doing this. Yet.
Have you looked at FreeIPA?
-mz
--
You received this message because you are subscribed to the Google Groups
"Puppet
What is the community's opinion/experience with performing some sort
of validation check before puppet drives out a config and restarts a
service?
I'm thinking of things like ISC DHCP where you can test the
correctness of a config:
dhcpd -t -q -cf /etc/dhcp/dhcpd.conf && cp
/some/staging/area/dhc
Greetings,
I've done some grepping of the puppet-users list and cannot find a
definitive answer. I am running a puppet 2.6/2.7 environment. Is there
a way to query the master to get a list of agents/clients that have
(in their computed catalog) a certain resource (cron for instance) ?
It looks li
Hi!
On Tue, Apr 29, 2014 at 9:13 AM, Marc wrote:
> Hello
>
> I am trying puppet 3.5.1 on a Debian Jessie.
>
> How can I enable Puppet by default on new installations ?
It looks like it is.
> I need to do that, for Debian deployment. I use Debian FAI to install Debian
> on my workstations. After
On Sun, Mar 9, 2014 at 5:58 PM, Teoh khah swee wrote:
> HI all,
>
> I just come across an case statement for puppet. I would like to know what
> the means of the mx for below sample code?
>
> case $::operatingsystem {
>/(?-mx:AIX)/ :{
From:
http://perldoc.perl.org/perlre.html
(?adlupimsx-im
On Mon, Feb 17, 2014 at 11:00 AM, kavya reddy wrote:
> Hi all,
> I just started working with puppet.i want a simple push mechanism from
> puppet master on to agent.i tried using "puppet kick" though its running and
> displaying message "successfully exited" the changes are not being reflected
> on
Hi Andy,
On Wed, Jan 29, 2014 at 5:07 AM, Andy Spiegl wrote:
>> Would you please be willing to include some context into your replies?
>
> Would YOU please NOT use fullquotes into your replies?
Yes, I will.
However, my earlier email wasn't a "reply" in the traditional sense.
It was a question t
Jose,
Would you please be willing to include some context into your replies?
Thanks,
-mz
On Tue, Jan 28, 2014 at 11:46 AM, Jose Luis Ledesma
wrote:
> It is the default behavior, so if you did not especify otherwise it will run
> every 30 minutes.
>
> Regards,
>
> --
> You received this messag
On Sat, Dec 14, 2013 at 7:04 AM, Felix Gläske wrote:
> Hey,
> I'm doing my first steps with puppet right now and I'm trying to set up a
> dev machine.
> For this I'm installing MySql and want to do some initial set up.
> The server is up and running and also my database is created.
> Now I want to
On Thu, Oct 3, 2013 at 5:45 PM, Juan Sierra Pons wrote:
>
> El 03/10/2013 14:00, "Matt Zagrabelny" escribió:
>
>
>>
>> Greetings,
>>
>> I've setup puppet dashboard 1.2.23 along with puppetmaster 2.7.18.
>>
>> I am seeing many \n stri
Greetings,
I've setup puppet dashboard 1.2.23 along with puppetmaster 2.7.18.
I am seeing many \n strings all over the place when looking at
reports. Specifically the \n's are in the Metrics, Log, Events links.
My nodes are showing up okay, and it seems just to be a problem with
the reports. For
On Tue, Oct 1, 2013 at 1:56 AM, wrote:
> Hi everyone
>
> I'm having a strange behavior. The mco puppet status and count commands
> return that 3 agents are known, but 2 are the same node (epd9023).
>
> When trying to disable/enable the epd9023, then only 1 is detected...
>
> Has someone any idea?
Greetings,
When writing modules are people namespacing them to avoid collisions
with puppetlabs' modules?
I wrote some (very simple) modules:
mysql
postgresql
that now have namespace conflicts when I am trying to install the
puppetlabs modules of the same name.
Is there a best practice or styl
On Mon, Apr 15, 2013 at 3:31 AM, Francisco Martinez wrote:
> Hello,
>
> I would like to know if there are any resources (success stories,
> comparisons, blogs...) regarding the use of puppet as a substitute to SCCM
> in Windows platforms. Would also love to hear success stories from Windows
> admi
On Wed, Mar 13, 2013 at 12:47 AM, wrote:
> Can anybody tell me what exactly ActiveMQ does? Is it a storage of messages
> produced by producer and ready to consume by consumer? M i understanding it
> correctly or not? Please tell me?
http://docs.puppetlabs.com/mcollective/screencasts.html#message
On Sun, Mar 10, 2013 at 6:30 PM, Jakov Sosic wrote:
> On 03/08/2013 06:54 PM, Matt Zagrabelny wrote:
>>
>> Greetings,
>>
>> I am getting a perplexing message on a client:
>>
>> Mar 8 11:49:06 matlab puppet-agent[2028]: Could not run Puppet
>> configur
>
>
> It's #1372. http://projects.puppetlabs.com/issues/1372
>
> It's a nasty one, and a few ideas are being discussed to fix it, but it'll
> likely be 3.2 or 3.3, and possibly 4.x before it can be addressed.
>
>>
>>
>> Stefan -
Greetings,
I am getting a perplexing message on a client:
Mar 8 11:49:06 matlab puppet-agent[2028]: Could not run Puppet
configuration client: Could not find dependency Class[Matlab] for
File[/usr/local/MATLAB/R2012a/etc/license.dat] at
/etc/puppet/manifests/debian/matlab.pp:24
In my node manif
Note: I didn't follow this thread from the beginning, so this comment
might be out of place.
On Thu, Jan 3, 2013 at 8:59 AM, Anthony BRODARD
wrote:
> Hi list,
>
> I've writed this module to deploy the public key of our debian repository :
>
>> file
>> {
>> "/etc/apt/repos-public.key":
>>
On Wed, Nov 28, 2012 at 2:14 PM, Jakov Sosic wrote:
> On 11/28/2012 09:10 PM, Matt Zagrabelny wrote:
>
>> Part of our server bootstrapping process is to copy over the ssh keys
>> to the puppetmaster after puppet has installed openssh-server.
>
> So how do you do that
On Wed, Nov 28, 2012 at 1:50 PM, Jakov Sosic wrote:
> On 11/26/2012 08:54 PM, Matt Zagrabelny wrote:
>> 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
>>
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
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(
On Tue, Nov 6, 2012 at 7:29 AM, Vaidas Jablonskis wrote:
> Hi People,
>
> I would like some insight from you on how to easily manage SSL certs/keys.
>
> My puppet infrastructure is pretty straight forward:
> puppet3+puppetdb+hiera+hiera-gpg.
>
> I am in the process of writing tons of modules, whic
On Mon, Nov 5, 2012 at 4:23 AM, Alexander Holte-Davidsen
wrote:
> Hi all,
>
> I have a application that I schedule via cron. This is a application that
> runs once a week, either on Tuesday or Thursday. The scheduling is now done
> via Puppet.
>
> I now see that I need to redefine this, on some no
Greetings,
I have the global file defaults set up:
site.pp
File {
owner => "root",
group => "root",
mode => 0644,
}
In general this works well. I do have a node with numerous file
resources that do not conform to the above defaults. Is there an
elegant way to say something like:
se
On Mon, Oct 15, 2012 at 10:57 AM, Tom Swartz wrote:
> Hey all,
>
> I have a question regarding the choice to move to spaces (rather than tabs)
> in the editor.
>
> May I ask the reasoning behind this?
Tabs render to different number of spaces depending on the program or
user preference. There are
On Mon, Oct 15, 2012 at 9:38 AM, jcbollinger wrote:
>
>
> On Monday, October 15, 2012 9:03:50 AM UTC-5, jcbollinger wrote:
>>
>> [...] parametrized classes still have serious deficiencies in Puppet 3
>> (and worse deficiencies in Puppet 2). Do write them.
>>
>
> I meant do not write them, of cour
On Mon, Sep 17, 2012 at 8:55 AM, Joe Topjian wrote:
> Hi Sandra,
>
> The Puppet Apt module should be of some use:
>
> http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/
What I've done is use use file resources and the following apt locations:
/etc/apt/sour
Perhaps put them in a chain of their own?
I am not sure if puppet with delete chains.
-mz
On Wed, Aug 15, 2012 at 1:48 PM, Geoff Galitz wrote:
>
> I'm still a bit noobish with puppet...
>
> In short what I want to do is merge puppet managed iptables with dynamically
> added rules added by some
On Fri, Aug 10, 2012 at 10:14 AM, Matt Zagrabelny wrote:
> On Fri, Aug 10, 2012 at 9:53 AM, David Schmitt wrote:
>> On 10.08.2012 16:19, Matt Zagrabelny wrote:
>>>
>>> Hi!
>>>
>>> I've got a simple file and exec resource coupling that does not s
On Fri, Aug 10, 2012 at 9:53 AM, David Schmitt wrote:
> On 10.08.2012 16:19, Matt Zagrabelny wrote:
>>
>> Hi!
>>
>> I've got a simple file and exec resource coupling that does not seem
>> to be working as expected:
>>
>>file { "/etc/po
Hi!
I've got a simple file and exec resource coupling that does not seem
to be working as expected:
file { "/etc/postfix/transport":
source => "puppet:///private/etc/postfix/transport",
}
exec { "rebuild_transport_index_for_mailman":
command => "postmap /etc/postfix/transport"
instance, some of them live within modules, others are in the
private fileserver namespace. It would reduce directive clutter if
there was a way to say, "Any file living under /etc/daeomn/config.d"
has a default notify of 'Class["daemon::service"],'.
Thanks for the advice
On Thu, Jan 26, 2012 at 9:35 AM, Jonathan Gazeley
wrote:
> On 26/01/12 15:22, Matt Zagrabelny wrote:
>>
>> I don't know about "easy", but here is what I am doing:
>
>
> Thanks Matt, that's helpful.
>
> This addresses how to distribute keys to node
/ssh/sshd_config") {
include ssh::install, ssh::service
class { "ssh::config": sshd_config_source => $sshd_config_source }
}
$ ls -alh /etc/puppet/private/nodehostname/etc/ssh
total 24K
drwxr-xr-x 2 root root 4.0K Jan 18 11:35 .
drwxr-xr-x 5 root root 4.0K Jan 18 11:35 ..
-rw-r-
On Thu, Dec 22, 2011 at 7:32 AM, Matt Zagrabelny wrote:
> On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck wrote:
>>
>>
>> On Thu, Dec 22, 2011 at 11:19, Tom De Vylder wrote:
>>>
>>> How about this:
>>>
>>> package { 'puppetmaster/squee
On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck wrote:
>
>
> On Thu, Dec 22, 2011 at 11:19, Tom De Vylder wrote:
>>
>> How about this:
>>
>> package { 'puppetmaster/squeeze-backports':
>> ensure => installed,
>> }
>>
>> Looks a lot easier to me. It takes all the dependencies it needs from
>> squeez
re is not clean way to use the '-t' option with puppet.
Any other advice is (equally) welcome.
Thanks,
-mz
> On Thu, Dec 22, 2011 at 00:50, Matt Zagrabelny wrote:
>>
>> Hi Puppet Users,
>>
>> I am trying to install a package (request-tracker4) from Debia
ze-backports -o
DPkg::Options::=--force-confold install request-tracker4
I was thinking of making a custom provider. Is that sane?
Thanks for the hints!
-matt zagrabelny
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to th
> Facter facts are all strings, not true booleans. You'll need to check
> for whether or not $is_virtual == 'true'.
Thanks for the prompt reply, Jacob!
Things look good now.
-mz
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this
Io_scheduler::Config/File[/etc/default/grub]/content)
content changed '{md5}01de0bd1b00e2ca04ebb873ace6f20fe' to
'{md5}a882618adcb31667cbab22731f8f16e2'
Any ideas what is wrong here?
Thanks for the help!
-matt zagrabelny
--
You received this message because you are subscribe
On Tue, Oct 18, 2011 at 12:11 PM, Steve Snodgrass wrote:
> To be a little more explicit about what Nan said, if you use a
> parameterized class, any parameters you passed into the class will
> also be available in the template. The same things goes for a define.
I've got a class:
class libapach
Hi,
Is it possible to pass parameters to use in templates?
Or do you just set "global" variables in the class and then reference
that in the template?
Thanks,
-matt zagrabelny
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" gr
1 - 100 of 101 matches
Mail list logo