Re: [Puppet Users] Publicly accessible server?

2011-10-20 Thread Jan
connections to the puppetmaster. So basically nobody would know about the total number of hosts which might be keeping in sync with your site manifest ;) - Jan signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Publicly accessible server?

2011-10-20 Thread Jan
aster to external transport networks. This might reveal interesting information on your environment to third party (like the number of connections, the sync interval but even the number of hosts and ip addresses involved [...]). Jan signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] [SOLVED] ERB: apache2 vhost template - iterating over array writing out mod_rewrite rules

2011-10-27 Thread Jan
ond %{HTTP_HOST} #{val}"}.join(" [OR]\n ") %> <% vhostaliases_new.each do |Alias| %><%= Alias %><% end %> RewriteRule ^/(.*) http://<%= servername %>/$1 [L,R=301] <% end -%> >8--- Thanks :) - Jan signature.asc Description: OpenPGP digital signature

[Puppet Users] Another question concerning run stages

2011-01-25 Thread Jan
t onto the stage problem. As I'm new to puppet, I would also appreciate criticism about the manifest/module structure - maybe I'm doing things too complicated? Best regards, Jan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Another question concerning run stages

2011-01-25 Thread Jan
On Jan 25, 12:13 pm, Felix Frank wrote: > On 01/25/2011 11:54 AM, Jan wrote: > > > > > Hi all, > > > even though I've read some postings about run stages, I'm still having > > trouble using them correctly. > > > First of all: Is it possible to

[Puppet Users] Re: Another question concerning run stages

2011-01-26 Thread Jan
On 25 Jan., 15:21, Felix Frank wrote: > > I am now trying without any module to make debugging easier. I've got > > the following: > > class afs { > >   service { "openafs-client": > >     enable    => true, > >     ensure    =>

[Puppet Users] Check package version in order to proceed with installation (err: Could not update: is already installed)

2011-02-11 Thread Jan
ource => "/tmp/ruby-shadow-$myrshadowversion.x86_64.rpm", require => file["/tmp/ruby-shadow-$myrshadowversion.x86_64.rpm"]; } service { "puppet": enable => true, ensure => running, restart => true, name => "puppet"; } } } }

Re: [Puppet Users] Check package version in order to proceed with installation (err: Could not update: is already installed)

2011-02-11 Thread Jan
itoring agent at a later time. The rest of the manifest seems to work just fine also with this error message coming up. > 4) I assume you're getting one of those errors for every package. Is > that true? Yes, that's correct. Jan -- You received this message because you are sub

Re: [Puppet Users] Check package version in order to proceed with installation (err: Could not update: is already installed)

2011-02-14 Thread Jan
Hi *, no more ideas? :) Jan On 02/11/2011 10:24 PM, Jan wrote: > Hi Patrick, > > On 02/11/2011 07:40 PM, Patrick wrote: > > [...] > >> 1) So, just some random advice. If you're using the same server to >> serve files and catalogs, you can skip listing t

[Puppet Users] Assign a single ssh pubkey to multiple users on the same system

2011-02-16 Thread Jan
ready defined in file /etc/puppet/manifests/node.pp at line 3; cannot redefine at /etc/puppet/manifests/node.pp:4 on node puppet.domain.tld warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run ---------

Re: [Puppet Users] Sensible, Manageable, CentOS puppetmaster?

2011-02-16 Thread Jan
n searching for? Just have a look at it to get a clue about how it works. Hope this helps! :) Jan -- 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 th

Re: [Puppet Users] Install a single pubkey on multiple system accounts located on the same node (duplicate definition error)

2011-02-17 Thread Jan
Hi *, On 02/16/2011 11:19 AM, Jan wrote: > I would like to create a pool of ssh pubkeys. The major goal is to be > able to assign a single key to multiple users on a given node/system. so here are some details on what I'm t

Re: [Puppet Users] Assign a single ssh pubkey to multiple users on the same system

2011-02-17 Thread Jan
bout virtual resources within the documentation under http://docs.puppetlabs.com/guides/virtual_resources.html but obviously I don't know how to handle them. I've just started learning how to use puppet a few days ago, so it would be great if you could give me some additional

Re: [Puppet Users] Assign a single ssh pubkey to multiple users on the same system

2011-02-17 Thread Jan
On 02/17/2011 12:13 PM, Felix Frank wrote: [...] >> When using the realize statement I don't know which naming attribute to >> use? The "key =>" contains a template or even the PEM encoded key of >> user "jim" but except it's resource name "jim@uniqe.email_for_$name" >> there is no naming attribu

Re: [Puppet Users] Assign a single ssh pubkey to multiple users on the same system

2011-02-17 Thread Jan
On 02/17/2011 01:14 PM, Jan wrote: [...] > I'm sorry for such confusion I've been causing right from the start. So > I think that you've been right with your first thoughts because what I'm > trying to achieve is exactly what you've mentioned earlier: > &g

[Puppet Users] if statement: 'true' from left operand of 'in' expression is not a string

2011-04-01 Thread Jan
t of code I got from the puppet style-guide: http://docs.puppetlabs.com/guides/style_guide.html#class-inheritance -> see the bluetooth class example Any ideas? What am I missing? Btw. I'm running a self-build version of puppet 2.6.4 without additional patches ... Many thanks Jan

[Puppet Users] Bake custom function in order to heck for a files existence (on the puppetmaster)

2011-04-19 Thread Jan
Hi guys, I just try to cook up some ruby code to check for a files existence on the puppetmaster. I tried to bake a custom function in order to be able to use it in connection with an if statement in my manifests. I've read the page about how to write custom functions .. http://projects.puppetla

Re: [Puppet Users] [SOLVED] Bake custom function in order to heck for a files existence (on the puppetmaster)

2011-04-19 Thread Jan
I was using the wrong path so the function seems to work as expected :) On 04/19/2011 10:06 AM Jan wrote: > Hi guys, > > I just try to cook up some ruby code to check for a files existence on the > puppetmaster. I tried to bake a custom function in order to be able to use > it in

[Puppet Users] Fetching the domain name from a string variable

2011-04-28 Thread Jan
Hi guys, is there a simple way to fetch the domain name (e.g. test-domain.tld) from a string variable (e.g. host-internal.test-domain.tld)? Jan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

Re: [Puppet Users] [SOLVED] Fetching the domain name from a string variable

2011-04-28 Thread Jan
On 04/28/2011 10:58 AM Mohit Chawla wrote: > On Thu, Apr 28, 2011 at 2:24 PM, Jan wrote: > >> is there a simple way to fetch the domain name (e.g. test-domain.tld) from >> a string variable (e.g. host-internal.test-domain.tld)? >> > > Directly use the doma

Re: [Puppet Users] Re: Is this a valid statement?

2011-04-29 Thread Jan
On 04/28/2011 10:01 PM Roberto Bouza wrote: > That is the problem. :-) > > If its false/true I need to do stuff like > > if $enabled != undef { > class { 'doit': enabled => $enabled } # This here will use true or > false to delete or add files for example > } > > But if it's undef I don't even

[Puppet Users] accessing resource attributes

2009-08-20 Thread Jan
ing in the concepts? Thanks, Jan --~--~-~--~~~---~--~~ 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 em

[Puppet Users] Re: accessing resource attributes

2009-09-08 Thread Jan
Thank you, the request has been created: http://projects.reductivelabs.com/issues/2611 On Sep 8, 7:56 am, Luke Kanies wrote: > On Aug 20, 2009, at 1:25 AM, Jan wrote: > > > > > Hi, > > > I came across a use case where I would like to access a value of an > > a

Re: [Puppet Users] Start puppet with a non root user different than default 'puppet'

2012-07-18 Thread Jan
# sudo /etc/init.d/pupettmaster stop; # sudo su -; # puppetmasterd --config=/etc/puppet.conf; # ps aux | grep 'puppet'; ----8< Cheers - Jan signature.asc Description: OpenPGP digital signature

[Puppet Users] grouping or classifying servers

2009-08-05 Thread Jan Werner
hi list, first of all, i'm new to puppet, and i'm evaluating it right now since a few days in my company ( internet, books, etc as sources ). i've been using cfengine for a few years now, and trying to get into puppet. i'd install puppet 0.25, because i feel a need to use regular expressions to i

[Puppet Users] variable variable naming

2009-08-11 Thread Jan Werner
hi list, i'd guess the subject could cause some braindamage, i'm sorry for that, i did not find a better description for my problem. here my problem. i do have the following list of variables to work with: $service_listenif = "eth0" ## this is a variable that comes from the node definition $ipa

[Puppet Users] Re: variable variable naming

2009-08-11 Thread Jan Werner
On 11 Aug., 17:10, Chad Huneycutt wrote: > Try: > > $listenip = "${ipaddress}_${service_listenif}" > > - Chad hey chad, thanks for your reply your example above would give me $listenip = "192.168.0.1_eth0" but instead i need $listenip = "%IP_OF_SOME_NETWORK_DEVICE%" , where the "device" is d

[Puppet Users] Re: variable variable naming

2009-08-12 Thread Jan Werner
On 12 Aug., 11:17, Thomas Bellman wrote: > Jan Werner wrote: > > eh. while writing the things above, i'd propably found a solution: > > node definitions says: $listenif = eth0 > > > now the "magic" class comes to it's action and has the following cod

[Puppet Users] Puppet runs extremly slow on 1 of 18 Windows Server

2012-09-03 Thread Jan Ziegler
Hi, We have 18 Windows Server in the same environment. All Windows Server are build with an individual Windows Image, we created before, which means, that all Windows Machines have the same configuration except ip/mac address and hostname. 17 of those Windows Server run Puppet within 120 second

[Puppet Users] Installation problem (PE 3.0.0 on RHEL 6.4 x64)

2013-08-20 Thread Jan Walczuk
Hello everyone. I'm trying to install Puppet Enterprise for test purposes before my company make a purchase of Puppet Enterprise. There is a problem with installation (good start i guess :) ). After Q&A from installator and packages installation I'm getting this output: ## Setting up puppet mas

[Puppet Users] failed to install pkg on Solaris node

2013-09-03 Thread Jan Walczuk
Hi everyone. I've recently started testing puppet enteprise. Puppet master is on RHEL 6.4, my node connected for test purposes is Solaris 10u10. Puppet master is 3.0.1, fresh installation. Using "Advanced tasks" I'm trying to install PKG from CSW. I'm selecting node for installation, in field f

[Puppet Users] State of nginx puppet modules

2014-03-18 Thread Jan S.
ne using a nginx module in production and likes to give feedback on the extensibility and user friendlyness of the existing modules? Best regards Jan PS: My challenging blog post about the nginx modules is here http://dracoblue.net/dev/i-do-not-like-your-nginx-puppet-modules/ - other res

[Puppet Users] Facts which depend on (not-yet-installed) packages

2015-03-15 Thread Jan Schütze
wo times to get the expected result. I am sure that this is expected behavior of puppet. How do I handle such case? Regards Jan -- http://dracoblue.net -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this g

Re: [Puppet Users] intermodule dependency

2012-02-04 Thread Jan Ivar Beddari
On 01/30/2012 05:30 AM, Jeff McCune wrote: In the meantime, I document and leave it up to the end user to create another class that composes modules together. With your example, I'd do something like this as the end user. As the module author, I'd try and write mysql and ldap as if the other di

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread Jan Ivar Beddari
On 02/07/2012 03:54 PM, jimbob palmer wrote: # The right way class foo::specific { include 'foo::common' # specific stuff } So can I be sure that the include will run first, before the "specific stuff" here? Kind of, but you need to change your thinking. The include does not _run_ b

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Jan Ivar Beddari
On 16. feb. 2012 00:34, Eric Shamow wrote: In theory it should be easy to write something through the cloud provisioning framework that takes even less time and is more flexible than our tools, but it's a fairly straightforward task. I've been thinking about doing exactly that but I'm a bit wo

Re: [Puppet Users] Re: Removing the ability to serve symlinks as symlinks from the master...

2012-02-16 Thread Jan Ivar Beddari
On 02/16/2012 03:30 PM, jcbollinger wrote: If the File resource behaved as documented then there would be no uncertainty. With "recurse => true, links => manage, force => true" the File resource would always manage a node's corresponding directory tree into an exact match to the master's. W

Re: [Puppet Users] Hiera and Nodeless Puppet HELP

2012-03-13 Thread Jan Ivar Beddari
On 02. mars 2012 14:15, Daysmen wrote: Hi Folks To begin with i am looking to deploy a completely new puppet config based on the truth module https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/modules/truth Just a general comment of nodeless Puppet and the truth-enfor

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-16 Thread Jan Ivar Beddari
On 15. mars 2012 22:06, Florian Koch wrote: Hi Dennis, i have found a better solution via create_resources (look at my reply to Gery) Not neccessarily better in my mind because .. You should try something like this: class tomcat::instance { $instances = hiera('tomcat_instances')

Re: [Puppet Users] Windows Puppet msi packages question

2012-03-23 Thread Jan Ivar Beddari
puppetwinbuilder.zip .. I haven't done this myself yet, someone else will most likely help out with more info. Jan Ivar Beddari -- http://www.uib.no/personer/Jan.Ivar.Beddari -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

Re: [Puppet Users] Plugins and Hiera

2012-03-25 Thread Jan Ivar Beddari
On 03/24/2012 10:58 AM, Fernandez Pablo wrote: Hi, That would define $primary_group as a variable, not as a fact. Indeed, what I want to do is: :backends: - puppet :hierarchy: - %{primary_group} :puppet: :datasource: data And that requires primary_group to be a fact. No, that's not

Re: [Puppet Users] Getting server facts from a mysql server

2012-03-27 Thread Jan Ivar Beddari
On 28. mars 2012 05:27, Gino Lisignoli wrote: I'm rather new to puppet and taking over an existing "work in progress" installation of puppet. The problem I have at the moment is that we have a mysql database that contain some facts about our servers (what their ip address are supposed to be, who

Re: [Puppet Users] hiera questions

2012-07-02 Thread Jan Ivar Beddari
In a multi-tenant scenario (or easier even, in a scenario where all your servers have a common root password) where would you place your source of truth? Don't know if you see this or care but still fired this off. best, Jan Ivar Beddari Linux/Mac architect University of Bergen, Norway -- h

Re: [Puppet Users] hiera questions

2012-07-02 Thread Jan Ivar Beddari
message becomes a bit more broad. Might even be worth starting a new thread. To the OP, sorry for being such a thread crasher. As to your question I think the answers you got are OK but hopefully you understand what caveats there might be security-wise. best, Jan Ivar -- http://www.uib.no

Re: [Puppet Users] DNS Zone serial numbers

2011-09-09 Thread Jan-Piet Mens
> and the template will include the zone delegation record. What I'm trying > to figure out is how to generate the serial numbers. I'd forego the MMDDxxx format and use either UNIX epoch time which is auto-incrementing anyway, or store an integer counter (in a file) and increment that each ti

Re: [Puppet Users] Which package repository for puppet installation (rh/centos) ?

2011-12-01 Thread Jan Ivar Beddari
refer. All the pieces and neccessary people are right there, pull it together! Jan Ivar Beddari -- http://www.uib.no/personer/Jan.Ivar.Beddari -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

[Puppet Users] Send diff in tagmail report ?

2010-10-20 Thread Jan-Frode Myklebust
Is it possible to configure puppet to send a "diff" of old/new files in the tagmail reports when it's changing files ? Or has someone made a solution for creating such a report against the clientbucket ? -jf -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet Users] Assign a single ssh pubkey to multiple users on the same system

2011-02-20 Thread Jan Dennis Bungart
oo", "bar", "baz" ]; } Solving the first problem made another one came up so now I'm searching a way to declare the key-type in addition to the key. That's because not all users might be using keys of type RSA only. Maybe somebody has another idea on how to extend the above mentioned approach? :) Many thanks Jan signature.asc Description: OpenPGP digital signature

[Puppet Users] RHEL4 / 0.25.4-1 / Failed to retrieve current state of resource: Could not retrieve file metadata for

2010-03-06 Thread Jan-Frode Myklebust
After upgradeing my staging environment to the 0.25.4-1 version from EPEL, I'm getting the following errors from my RHEL4-clients: Sat Mar 06 11:47:29 +0100 2010 //ntpd/File[/etc/ntp/keys] (err): Failed to retrieve current state of resource: Could not retrieve file metadata for puppet:/

Re: [Puppet Users] Re: RHEL4 / 0.25.4-1 / Failed to retrieve current state of resource: Could not retrieve file metadata for

2010-03-07 Thread Jan-Frode Myklebust
On 2010-03-06, janfrode wrote: > > I'm also wondering if this could simply be caused by an overloaded > puppetmaster, as it's only running a single puppetmaster-process... ? > But that doesn't explain why I'm not seeing this problem on the 64-bit > machines... > .. and after setting up apache to

[Puppet Users] realize group before user ?

2010-03-09 Thread Jan-Frode Myklebust
I have this user and group that I need to realize: @user { "policyd": ensure => "present", uid => "103", gid => "103", comment => "Postfix Policy Daemon", home=> "/home/policyd",

Re: [Puppet Users] Re: Certificate problems.

2012-07-06 Thread Jan Ivar Beddari
e -a /etc/hosts and read http://docs.puppetlabs.com/guides/setting_up.html#configure-dns-optional best, Jan Ivar Beddari -- http://www.uib.no/personer/Jan.Ivar.Beddari -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

[Puppet Users] Norwegian-language online Puppet-meetup today at 20:00 CET

2013-02-19 Thread Jan Ivar Beddari
come to think of it, danes or swedes might enjoy this, too. As long as they accept they have to speak veeery clearly: http://www.youtube.com/watch?v=s-mOy8VUEBk See you, Jan Ivar -- http://www.uib.no/personer/Jan.Ivar.Beddari -- You received this message because you are subscribed to the G

AW: [Puppet Users] Re: Puppet ignores schedules

2013-10-01 Thread Doleschal, Jan (LGL)
it is called ignoreschedules. Ignoreschedule must be called with a valid schedule name... . Thanks for helping Jan __ Jan Doleschal Landesamt für Geoinformation und Landentwicklung Baden-Württemberg (LGL) Abteilung 3

[Puppet Users] Problems with "onlyif" in Exec

2014-01-20 Thread Jan-Frederic Markert
Hey, we want to check a condition before executing some commands. If a line is existing in a list of architectures, the command should not run - and vice versa. So we use grep and count the words (wc -l). The expected behaviour: if the onlyif-command returns 0, execute. If not, don't. (accordin

[Puppet Users] puppet slow when ensuring user with groups in combination with winbind auth

2014-08-11 Thread Jan van Lith
Hi, I am using winbind with "winbind enum groups = yes" on some of our servers. When ensuring a user that is local (and also in AD, so it has a lot of groups) the puppet run takes ages. Winbind process is taking a lot of cpu and when I strace it AD groups are passing by. This is the manifest:

RE: [Puppet Users] Problem in looking up key value from hieradata

2017-01-30 Thread Bart-Jan Vrielink
Hello, There are a few issues with your example that need to be fixed, to make it work. As a start, you need to prefix certain keywords in /etc/hiera.yaml with a colon (:). I have tested using this setup: --- :backends:   - yaml :hierarchy:   - node/%{::fqdn}   - "%{::environment}"   - global

RE: [Puppet Users] ntp package_name

2017-06-28 Thread Bart-Jan Vrielink
João, The default value is defined in data/common.yaml (as present), but depending on the OS version, this may be overridden. See hiera.yaml for what files may be consulted. Note that this version of the ntp module requires at least Puppet version 4.7.0. -Original message- From:

RE: [Puppet Users] Avoiding duplicate declaration in a loop?

2017-07-07 Thread Bart-Jan Vrielink
Hello, They are duplicate resources because Puppet (on the server) parses the manifests and adds all resources found to a catalog that is sent to the client, which uses this catalog to update the configuration. The catalog cannot have duplicate resources. I know of 3 basic methods to alter

[Puppet Users] Classifying nodes with PE results in 303

2015-04-07 Thread Henk-Jan Castermans
onsole" is authorized for PE-console but for some reason is not working. How do I get my access-credentials right to make this work? Can anyone give me a hint. I'm pretty new at this, so I'm a bit overwhelmed by all config-stuff. Greetings, Henk-Jan -- You received this message

[Puppet Users] Re: Classifying nodes with PE results in 303

2015-04-09 Thread Henk-Jan Castermans
ning: List nodes ..Failed Warning: Server responded with a 303 status Error: Could not: List nodes, got 303 expected 200 Op dinsdag 7 april 2015 19:40:01 UTC+2 schreef Henk-Jan Castermans: > > Hi, > I'm trying to classify a new node using the commandline just as expl

[Puppet Users] Puppet repository accessable on IPv6

2018-06-15 Thread Bart-Jan Vrielink
Hello, I'm trying to install a puppet agent on a server that only has IPv6 access. Is there any mirror of yum.puppet.com that has IPv6 or are we waiting for the next greatest thing to come after IPv6? -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] External NSS based CA & puppetserver

2018-08-07 Thread Bart-Jan Vrielink
e for populating the NSS certificate database and also have it generate .pem files. Will either of the first 2 options work? Or are OpenSSL certificates the only external certificates that work with Puppet 4.x/5.x ?? Regards, Bart-Jan Vrielink -- You received this message because yo

RE: [Puppet Users] Push Puppet custom Facts to agent

2019-01-31 Thread Bart-Jan Vrielink
Hello, Normally you would place custom facts in the directory lib/facter of a module (any module). When the setting pluginsync is true (and this is the default value for quite a long time), on the next puppet run this fact will be synced to the agent. https://puppet.com/blog/introduction-p

RE: [Puppet Users] converting Puppet reports to JUnit

2019-05-13 Thread Bart-Jan Vrielink
Hello, For rspec I have set the environment variable CI_SPEC_OPTIONS to '-r yarjuf -f JUnit -o result.xml -f progress'. This uses the gem yarjuf to generate a Junit results.xml file (which is saved as an artifact in Gitlab). -Original message- From: Luke Bigum  Sent: Friday 10th May

RE: [Puppet Users] How to start puppet master for v6.0.0 or late

2019-05-22 Thread Bart-Jan Vrielink
Hello, Puppet master has been deprecated for a while and is removed from Puppet 6. Instead of a puppet master, you should switch to using a puppetserver instead. See https://puppet.com/docs/puppet/6.0/release_notes_puppet.html#webrick -Original message- From: samding dd  Sent: Tuesd

RE: [Puppet Users] How to start puppet master for v6.0.0 or late

2019-05-22 Thread Bart-Jan Vrielink
bably the repository does not support it. Is there any way to build to build puppetserver from the Github directly? Thanks, On Wednesday, 22 May 2019 03:25:32 UTC-4, Bart-Jan Vrielink wrote: Hello, Puppet master has been deprecated for a while and is removed from Puppet 6. Instead of

RE: [Puppet Users] Puppet does not recognize bind mounts

2019-06-11 Thread Bart-Jan Vrielink
Hello, I'm unable to reproduce this behavior. To see about which mounts Puppet knows about, use 'puppet resource mount' or 'puppet resource mount /pub/fedora/site/candidates/30' # puppet resource mount /mnt/home mount { '/mnt/home':   ensure  => 'mounted',   device  => '/home',   dump    =>

RE: [Puppet Users] How do you keep the forge modules you use up to date (and keep your sanity)

2019-07-09 Thread Bart-Jan Vrielink
Hi, I share your pain. Too much time I waste on figuring out what set of dependencies will work. Something that may help is Voxpupuli's ra10ke gem (https://github.com/voxpupuli/ra10ke). This adds a few helpful rake tasks to work with dependencies. https://voxpupuli.org/plugins/#r10k lists

RE: [Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Bart-Jan Vrielink
Hello, Looks like the concat module may do the job? $my_template = '/my/config.file' concat { $my_template: } concat::fragment { 'standard contents':   target => $my_template,   content => template('my.epp'), } And then in the Amavis profile class: concat::fragment { 'extra spec

RE: [Puppet Users] Re: firewalld module configuration issue

2019-08-31 Thread Bart-Jan Vrielink
Hello, I believe 'port' should be a hash that consist of 'port' and 'protocol' parameters:     Example:         firewalld_port {'Open port 8080 in the public Zone':     ensure => 'present',     zone   => 'public',     port   => {   'port' => 8080,    

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-08-31 Thread Bart-Jan Vrielink
Hello, I cannot fully understand what you are trying to do, as I do not know what $copyPrivateCommand is, but I would advice against using an exec for copying a file, but just use a file resource instead: file { "${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem":   ensure => fil

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Bart-Jan Vrielink
  Sent: Sunday 1st September 2019 16:52 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] change from 'notrun' to ['0'] failed Bart-Jan Vrielink wrote: > I cannot fully understand what you are trying to do, as I do not know > what $copyPrivateCommand is,

RE: [Puppet Users] Re: [RFC] Changes to open-source container versioning

2019-10-17 Thread Bart-Jan Vrielink
Hello, I'm equally confused. For almost all containers I'm used to, if the tag is just a version number, to me it indicates "built the same way as latest, but a fixed snapshot". If it is not built the same way as latest, I would expect the tag to include a label for that. So puppet/puppetserv

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Hello, I doubt str2saltedsha512 can be used to generate encrypted passwords, as the resulting string does not contain the id nor salt. pw_hash should work, although in the brief test I just did, it looks like a lower case 'sha-512' should be used. I think you should debug this issue a litt

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Hello, I'm still puzzled by why this is not working on your system. The following works for me on a Centos7 machine: user { 'testuser':   ensure => 'present',   password   => pw_hash('password', 'SHA-512', 'mysalt'), } -Original message- From: jmp242  Sent: Fr

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
it works! And this is why you can't always just copy -> paste -> edit your stuff in!. On Friday, November 15, 2019 at 8:55:57 AM UTC-5, Bart-Jan Vrielink wrote: Hello, I'm still puzzled by why this is not working on your system. The following works for me on a Centos7 machine: us

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Of course this is not idempotent. Mmm, security is difficult. -Original message- From: Bart-Jan Vrielink  Sent: Friday 15th November 2019 16:18 To: puppet-users@googlegroups.com Subject: RE: [Puppet Users] Managing a local users password with puppet on EL7 Hello, Glad to hear that

RE: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-25 Thread Bart-Jan Vrielink
Hello, I see you are looking for 'match_address', but in Hiera it is stored as 'sshdconfig::match_address'. -Original message- From: Dan Crisp  Sent: Tuesday 25th February 2020 13:42 To: Puppet Users Subject: Re: [Puppet Users] Hiera Setup Lookup Complaining I included the --compil

RE: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-26 Thread Bart-Jan Vrielink
n.yaml"         Path not found   Module "sshdconfig" not found Function lookup() did not find a value for the name 'sshdconfig::match_address' Suggesting that it was expecting sshdconfig to be be a module.  Not the case in this instance.  In fact, the hiera in question is not reff

RE: [Puppet Users] hiera with environments

2020-06-12 Thread Bart-Jan Vrielink
Hello, Control Repo and R10K work fine with Puppet OSS and is the recommended architecture for using multiple environments with Puppet. PE Code Manager is indeed only for PE, but in most cases is just a fancy name for R10K. -Original message- From: solarflow 99  Sent: Thursday 11

RE: [Puppet Users] Reg: Calling the sleep method

2020-09-02 Thread Bart-Jan Vrielink
Hello, No. The try_sleep parameter defines the time to sleep between tries. The default value of tries is 1. What are you trying to achieve? -Original message- From: Raghu Ram Baisani  Sent: Thursday 3rd September 2020 7:17 To: Puppet Users Subject: [Puppet Users] Reg: Calling th

RE: [Puppet Users] Puppetserver ca migrate

2021-03-04 Thread Bart-Jan Vrielink
Hello, It would be nice if Puppet's Pupperware is also updated for this new CA location... -Original message- From: Justin Stoller  Sent: Thursday 4th March 2021 18:11 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppetserver ca migrate Hi! If you've mounted exte

RE: [Puppet Users] Puppetserver ca migrate

2021-03-06 Thread Bart-Jan Vrielink
- From: Justin Stoller  Sent: Friday 5th March 2021 20:35 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppetserver ca migrate On Thu, Mar 4, 2021 at 11:44 PM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote: Hello, It would be nice if Puppet's Pupperware is a

RE: [Puppet Users] Puppetserver ca migrate

2021-03-16 Thread Bart-Jan Vrielink
ppet Users] Puppetserver ca migrate On Sat, Mar 6, 2021 at 3:18 AM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote: /etc/puppetlabs/puppetserver/ca is not a volume listed in the docker-compose file. Unless that directory is symlinked to somewhere under /etc/puppetlabs/puppet/, that

RE: [Puppet Users] os release facter not parsing dracut version

2023-06-22 Thread Bart-Jan Vrielink
Hello, The documentation for os-release (https://www.freedesktop.org/software/systemd/man/os-release.html) only briefly mentions major release, but indicates that VERSION_ID is where that should come from. Both Debian and AlmaLinux have sensible values for VERSION_ID: VERSION_ID="11" VERSI