[Puppet Users] Re: Masterless Puppet and exported resources

2023-02-02 Thread Alex C
at. I think it's not interesting to me, but I'll have a go and see if I grok the use case for that. Cheers, Alex -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Re: Masterless Puppet and exported resources

2023-02-01 Thread Alex C
Hi again, I got a pretty effective masterless setup. It even collects facts from nodes. I'd like to set up exported resources (I still use Nagios, and the exported resources magic with Nagios looks great!), but I'm hitting a lack of documentation. In case anyone comes across this by Googling,

[Puppet Users] Masterless Puppet and exported resources

2023-01-30 Thread Alex C
Hi, Mostly thanks to this awesome resource: https://alexharv074.github.io/puppet/2015/12/31/compiling-a-puppet-catalog-on-a-laptop.html I got a pretty effective masterless setup. It even collects facts from nodes. I'd like to set up exported resources (I still use Nagios, and the exported reso

Re: [Puppet Users] Puppet Platform 7.18.0 is now available!

2022-08-08 Thread Alex Rodriguez
uppet.com wrote: > >> great catch, Oleksandr! Thanks for bringing this item to our attention. >> It is now resolved. >> >> Regards >> Alex >> >> On Wed, Aug 3, 2022 at 8:14 AM Oleksandr Lytvyn wrote: >> >>> Hello, .deb file is not yet

Re: [Puppet Users] Puppet Platform 7.18.0 is now available!

2022-08-03 Thread Alex Rodriguez
great catch, Oleksandr! Thanks for bringing this item to our attention. It is now resolved. Regards Alex On Wed, Aug 3, 2022 at 8:14 AM Oleksandr Lytvyn wrote: > Hello, .deb file is not yet available to download: > https://apt.puppetlabs.com/puppet7-release-jammy.deb > Could you plea

Re: [Puppet Users] Re: puppet-agent 6 & 7 nightly builds for Ubuntu 22.04 (AMD64)

2022-07-11 Thread Alex Rodriguez
We plan on releasing Open Source Puppet 7.18.0 (and Agent 7.18.0) with support of Ubuntu 22.04 by the end of July. Regards On Mon, Jul 11, 2022 at 10:22 AM Oleksandr Lytvyn wrote: > Please advice: when approx. puppet-agent 7.18.0 will be released (with > support of Ubuntu 22.04 LTS)? > > On Fri

Re: [Puppet Users] Support for Ubuntu 22.04

2022-05-11 Thread Alex Rodriguez
have it until August, 2022. One question, are you also looking for Ubuntu 22.04 support for Primary Platforms? Alex On Wed, May 11, 2022 at 9:24 AM Alex Rodriguez wrote: > Hello, > > Support for Ubuntu (General Availability kernels) 20.04 x86_64 is part of > Puppet Enterpris

Re: [Puppet Users] Support for Ubuntu 22.04

2022-05-11 Thread Alex Rodriguez
Hello, Support for Ubuntu (General Availability kernels) 20.04 x86_64 is part of Puppet Enterprise 2021.6 and 2019.8.11. These two are scheduled for release later today. Alex Rodriguez Technical Program Manager On Tue, May 10, 2022 at 5:54 PM grant@webqem.com < grant.dav...@webqem.

[Puppet Users] Re: Puppet Enterprise 2021.5 is now available!

2022-02-18 Thread Alex Rodriguez
We are planning for Ubuntu 20.04 PE primary server support on our next Puppet Enterprise release planned for May. Cheers! Alex Rodriguez Technical Program Manager, R&D On Thursday, February 17, 2022 at 7:38:43 PM UTC-8 ama...@gmail.com wrote: > Thanks for the new platform support.

Re: [Puppet Users] Puppet Platform 6.26.0 is now available

2022-01-24 Thread Alex Rodriguez
The feature is for 'puppet lookup' commands ONLY. For puppet in general, we always want puppetserver to determine which environment to assign the agent to. Good question btw. I'll see that we update our release notes for clarity. Alex Rodriguez Technical Program Manager On Mon

Re: [Puppet Users] Bolt running local script

2020-08-07 Thread Alex Dreyer
You'll have to use the localhost target inside a loop in a plan for that. get_targets($targets).each |$t| { run_script('myscript', 'localhost', arguments => [ $t.host ]) } If you convert the script into a task you can use run_task_with to parallelize it but it's probably easier to just write a

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Alex Dreyer
On Tue, Feb 11, 2020 at 7:24 AM Shirish Shukla wrote: > What about if puppet agent not installed on target > Is there any way we can use epp file > There are a few options - You can target localhost for the apply to create the file locally and then use upload_file to copy it. - You can write a t

Re: [Puppet Users] Path to pkcs7-keys using Bolt, eyaml, hiera.yaml

2019-12-10 Thread Alex Dreyer
On Tue, Dec 10, 2019 at 3:57 AM Andreas Torbiörnsson < andreas.torbiorns...@gmail.com> wrote: > Hi group! > > Does anyone know if it is possible to use relative paths for the > encryption keys when using hiera/eyaml with Bolt. I can't find any info > about how Bolt/hiera treats relative paths when

Re: [Puppet Users] Can you run tasks from a manifest file?

2019-05-06 Thread Alex Dreyer
On Mon, May 6, 2019 at 8:11 AM Clarence H wrote: > Can you execute a task from a manifest file. > > I know you can execute > > puppet run task > > But I would like to run it from within my class like this... > > > > class foobar { > > file {/blah': >ensure => present > } > > run_task{

Re: [Puppet Users] Puppet-like logging for apply blocks in Bolt

2019-01-18 Thread Alex Dreyer
Thanks, I agree this output should be available when you're debugging apply statements in plans and I did a spike on implementing this type of logging a few months ago. After some testing it became apparent that this is too much output for the default log level. When running on many nodes it overwh

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

2019-01-07 Thread Alex Dreyer
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

[Puppet Users] Puppet Bolt 0.8.0 released with sudo support

2017-11-17 Thread Alex Dreyer
uploading files are printed as each node finishes - Bolt will output JSON on stdout with the --format json option see https://puppet.com/docs/bolt/0.x/new_features.html for a full list of changes. Alex -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Does create_resources support virtual resources?

2017-06-14 Thread Alex Harvey
On Saturday, March 31, 2012 at 6:04:28 AM UTC+11, Gary Larizza wrote: > > Create_resources doesn't support virtual users, but Hiera DOES support > hash-merging, so it could find all users in all hierarchies with hiera_hash > and then declare them at once. Presumably at some point this featur

[Puppet Users] Re: Code Manager queued environments

2016-11-29 Thread Alex Dreyer
On Tuesday, November 29, 2016 at 7:48:36 AM UTC-8, Jonathan Gazeley wrote: > > I'm dabbling with a new PE 2016.4 installation as I'm hoping to finally > migrate away from Puppet 3. > > We're using code manager rather than r10k to deploy environments from > git using a commit hook from GitLab.

Re: [Puppet Users] puppetserver error "Service ':CaService' not found" when following puppet install guide

2016-08-28 Thread Alex Xu
.5/release_notes.html#potential-breaking-issues-when-upgrading-with-a-modified-bootstrapcfg > - https://docs.puppet.com/puppetserver/2.5/bootstrap_upgrade_notes.html > > Hope that helps, > Matthaus > > On Fri, Aug 26, 2016 at 5:45 AM, Alex Xu > wrote: > >> Hi all

[Puppet Users] puppetserver error "Service ':CaService' not found" when following puppet install guide

2016-08-26 Thread Alex Xu
Hi all, I was following puppet install guide for puppet 4.6 puppetserver 2.5. After I installed puppetserver and puppet-agent from puppetlabs-release-pc1-trusty.deb in a new Ubuntu 14.04 box. When I try running "puppet resource service puppetserver ensure=running", I got following error in

Re: [Puppet Users] X509 Cert management

2016-08-23 Thread Alex Samad
awesome On 23 August 2016 at 17:43, Lowe Schmidt wrote: > There is also https://forge.puppet.com/puppetlabs/java_ks maybe it fits > better with what you want to do ? > > -- > Lowe Schmidt | +46 723 867 157 > [snip] -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] X509 Cert management

2016-08-22 Thread Alex Samad
Hi I want to manage CA certs on Centos boxes and also in JVM's I found https://forge.puppet.com/camptocamp/openssl ... not realy what i want and https://forge.puppet.com/pcfens/ca_cert looks better. If I was to extend to manage java certs. this is my script /usr/java/jdk1.6.0_30/bin/keytoo

Re: [Puppet Users] Re: Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-21 Thread Alex Samad
do that for you. trying to persist with the 2 branches production and testing for now .. > > This topic is really interesting to me since I've run into it multiple > times, the last being very recent. > > On Saturday, August 20, 2016 at 6:39:03 PM UTC-4, Alex Samad wrote: >>

Re: [Puppet Users] Re: Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-20 Thread Alex Samad
On 20 August 2016 at 22:50, Chadwick Banning wrote: > This is an issue I run into pretty regularly. If your Puppet infrastructure > is even moderately complex, I'd recommend NOT equating a Puppet environment > to an operational environment, operational environment being the groups of > machines kn

Re: [Puppet Users] Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-18 Thread Alex Samad
> > On Thursday, August 18, 2016, Alex Samad > > wrote: > >> Hi >> >> I have recently gone through this problem. >> >> I had initial thought to you different branches for the different >> environments. >> say >> prod >> u

[Puppet Users] Re: Using puppet/apache

2016-08-18 Thread Alex Samad
Found this additional_includes On Friday, 19 August 2016 10:39:07 UTC+10, Alex Samad wrote: > > Hi > > How to I set this > > >Options -Indexes > > > # x-frame > Header always append X-Frame-Options SAMEORIGIN > > But I want to do it outside of t

Re: [Puppet Users] Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-18 Thread Alex Samad
Hi I have recently gone through this problem. I had initial thought to you different branches for the different environments. say prod uat sim inf dev But was advised best to go with production and testing. so I have and I have used a grouping in my ENC to put machines into the above groups

[Puppet Users] Using puppet/apache

2016-08-18 Thread Alex Samad
Hi How to I set this Options -Indexes # x-frame Header always append X-Frame-Options SAMEORIGIN But I want to do it outside of the vhost config, so its the default for all vhosts ? And/or how can I do the DirectoryMatch inside a vhost - there isn't an example in the readme.

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-17 Thread Alex Samad
=> '7991' require => postgresql::server::db['bitbucket'], this seems to fail, how do I make the DB a require for bitbucket install ? A On Tuesday, 16 August 2016 11:16:48 UTC+10, Alex Samad wrote: > > Hi > > I would like to setup my LVM firs

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
Volume_Group['vg_pgdata'], } Also found out that I can't have spaces between File and [ so File[ is difference from File [ Not sure I fully understand the [] and the difference between { '':} A On Wednesday, 17 August 2016 09:44:42 UTC+10, Alex Samad wrote: >

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
.yieldbroker.com W On Wednesday, 17 August 2016 09:27:29 UTC+10, Alex Samad wrote: > > Okay > > that sounds okay, how do I add fatal call to it to stop it processing any > more > > Alex > > On Tuesday, 16 August 2016 17:53:33 UTC+10, Gavin Williams wrote: >> >

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
Okay that sounds okay, how do I add fatal call to it to stop it processing any more Alex On Tuesday, 16 August 2016 17:53:33 UTC+10, Gavin Williams wrote: > > Alex > > You're looking for 'Requires' - See > https://docs.puppet.com/puppet/latest/reference/lang_re

[Puppet Users] how to ensure LVM created before installing postgres

2016-08-15 Thread Alex Samad
Hi I would like to setup my LVM first PV VG PV mount that in /var/lib/pgsql/9.2/data and then use # default class { 'postgresql::globals': manage_package_repo => false, version => '9.2', }-> class { 'postgresql::server': } now for testing I haven't

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-11 Thread Alex Samad
ing 3rd party, it's just cannot tell if > those are the latest version available for the guest OS. > > > On Thursday, August 11, 2016, Alex Samad wrote: >> >> Hi >> >> Thanks, very interesting, I had recently been testing with them. But >>

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-11 Thread Alex Samad
Hi Thanks, very interesting, I had recently been testing with them. But they show up in VC as 3rd party... I will check out the KB. Thanks Alex On 11 August 2016 at 22:03, Rob Nelson wrote: > This. open-vm-tools upgrades seamlessly if you upgrade your kernel, the > official tools do not

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-10 Thread Alex Samad
HI Yes went to puppet forge first, but .. the vmtools module use the opensource vmtools package, which I could use, but we have decided to stick with the office install from vmware. and I don't see one of those anywhere. Thanks Alex On 11 August 2016 at 14:12, Nick Cammorato wrote:

[Puppet Users] managing vmware-tools with puppet

2016-08-10 Thread Alex Samad
Hi so I have a repo of vmware-tools.*.tgz files located at a website. how do I build a module to check 1) is vmware tool install - check does vmware-toolbox-cmd exist 2) is it the right version - check for current version is vmware-toolbox-cmd -v I want to add version number into my hiera D

Re: [Puppet Users] Re: puppet lvm module

2016-08-08 Thread Alex Samad
what do i look up in the documents to learn more about this ? On 8 August 2016 at 23:14, jcbollinger wrote: > > > On Monday, August 8, 2016 at 2:38:35 AM UTC-5, Alex Samad wrote: >> >> So it seems like i can access it as just filesystem >> >> Why is that, i pre

[Puppet Users] Re: puppet lvm module

2016-08-08 Thread Alex Samad
So it seems like i can access it as just filesystem Why is that, i presume it comes from the puppet/lvm module ??? On Monday, 8 August 2016 17:11:50 UTC+10, Alex Samad wrote: > > Hi > > is it possible to access the filesystem type in the puppet/lvm module. > > in my module

[Puppet Users] puppet lvm module

2016-08-08 Thread Alex Samad
Hi is it possible to access the filesystem type in the puppet/lvm module. in my module I tried doing this lvm::filesystem { '/dev/vg_data/varlogyb': ensure => true, fs_type => 'ext4', options => '-L varlogyb', } but that errored out -- You received this message because you ar

[Puppet Users] Puppet LVM and FS Label

2016-08-04 Thread Alex Samad
Hi I am using https://forge.puppet.com/puppetlabs/lvm in my hiera yaml file I have lvm::volume_groups: vg_data: # not used but needed physical_volumes: - /dev/sdb1 #createonly: false # defined standard soe Centos 1.6 logical_volumes: varlogyb: size: 10G

Re: [Puppet Users] Re: Puppet .... ruby regex

2016-08-04 Thread Alex Samad
So Puppet DSL is ruby like then Think thats where I was going wrong. I went to the ruby page Craig & Robert thanks. Alex On Friday, 5 August 2016 00:50:54 UTC+10, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Robert Poulson" >

[Puppet Users] Re: Puppet .... ruby regex

2016-08-03 Thread Alex Samad
so got to this $pp_shortcertname= "${trusted['certname']}".match(/([^.]+)\./)[1] not sure I fully understand why this works and [] doesn't. Not 100% sure I understand what the [1] does ! A On Thursday, 4 August 2016 16:17:55 UTC+10, Alex Samad wrote: > >

[Puppet Users] Puppet .... ruby regex

2016-08-03 Thread Alex Samad
Hi I want to take ${trusted['certname']} and extract the hostname short form from it. so if i had thisbox.abc.com.au. I would like to get just thisbox I have tried this $pp_shortcertname= "${trusted['certname']}[/bitbucket/]" doesn't work , tried this $pp_shortcertname= "${trusted['certname

Re: [Puppet Users] Re: Something wrong with classification and hiera

2016-07-27 Thread Alex Samad
Thanks On Thursday, 21 July 2016 11:31:46 UTC+10, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Alex Samad" > > > To: "puppet-users" > > > Sent: Wednesday, 20 July, 2016 21:29:27 > > Subject: [Puppet Users]

Re: [Puppet Users] Puppet and SVN

2016-07-26 Thread Alex Samad
Hi Thanks for this again, its has helped allot. Question would it be fair to say you can't do firewall rules from hiera, that they have to be associated with a module.. Alex On Thursday, 26 May 2016 11:01:57 UTC+10, Rob Nelson wrote: > > Yep! I do that with some profiles: >

[Puppet Users] Re: Something wrong with classification and hiera

2016-07-20 Thread Alex Samad
Hi Very strange, edited hiera.yaml. ended up not makeing any changes - restarte puppet server and it seems to be working ! sigh ... A On Thursday, 21 July 2016 10:32:16 UTC+10, Alex Samad wrote: > > Hi > > So i think I have worked out the issue > > the params sections

[Puppet Users] Re: Something wrong with classification and hiera

2016-07-20 Thread Alex Samad
July 2016 09:32:41 UTC+10, Alex Samad wrote: > > Hi > > Using an ENC > > /usr/local/bin/puppet_node_classifier abc.abc.com > --- > environment: production > parameters: > pp_ybenv: alex > pp_yblocation: ybo > > > > from hiera.yaml > >

[Puppet Users] Something wrong with classification and hiera

2016-07-20 Thread Alex Samad
Hi Using an ENC /usr/local/bin/puppet_node_classifier abc.abc.com --- environment: production parameters: pp_ybenv: alex pp_yblocation: ybo from hiera.yaml :hierarchy: # node specific - "nodes/%{::trusted.certname}" # Envornment - "ybenv/%{::pp_

[Puppet Users] Can i do this with hiera

2016-07-19 Thread Alex Samad
gt;>>> %{::motd::extracontent} <<<<<< \n You are logging into %{::trusted.certname} [%{::pp_ybenv}]\n " can in hieradata/nodes/ybodev1.abc.com.yaml # extra motd motd::extracontent: "You are logging into a %{::pp_ybenv} environment\n " and when i run puppet -t --noop

[Puppet Users] hierarchy inside a module

2016-07-18 Thread Alex Samad
mekey') will it include env/somekey.yaml ? Thanks Alex -- 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...@googlegrou

Re: [Puppet Users] Re: control-repo how to use the profile setup

2016-07-12 Thread Alex Samad
Thanks On 12 July 2016 at 18:23, Gavin Williams wrote: > Alex > > I've done something similar for managing Oracle Java installation... > > I've created a 'base::software::java' class [1] within a site 'base' module, > but you could equally do th

Re: [Puppet Users] Re: control-repo how to use the profile setup

2016-07-11 Thread Alex Samad
Hi Thanks, but ! not all of my boxes have internet access. But thanks On 12 July 2016 at 10:13, Matthaus Owens wrote: > Alex, > > It looks like puppetlabs/java has a defined type to handle getting the > oracle version of java (https://forge.puppet.com/puppetlabs/java#usage). Th

[Puppet Users] Re: control-repo how to use the profile setup

2016-07-11 Thread Alex Samad
Ta but ! I don't want to use the rpm / package from the distro (Centos), I want to use the one from oracle. I had hoped to use puppet for storing that. I have a repo setup and could add it there. It was a 2 part question, 1 to solve the package problem, the other how to use the download from

[Puppet Users] control-repo how to use the profile setup

2016-07-10 Thread Alex Samad
to be able to rpm install it the rpm is the oracle rpm Alex -- 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.c

[Puppet Users] Re: Best practise question around where to keep certain facts

2016-07-07 Thread Alex Samad
does 3.yaml get info from the 1.yaml ??? A On Friday, 8 July 2016 10:14:13 UTC+10, Alex Samad wrote: > > Hi > > Using a global ENC - this is allocating facts like location and envornment. > > in my hiera I had > > # Envornment - YB > - "ybenv/%{::ybenv}" &

[Puppet Users] Best practise question around where to keep certain facts

2016-07-07 Thread Alex Samad
variables, node-scope variables, or variables from an ENC whenever possible. does that mean i should do it all in my ENC ?? hiera -d ybenv::file::osfamily=RedHat environment=production ::trusted.certname=abc ::ybenv=alex ::yblocation=ybo DEBUG: 2016-07-08 09:58:10 +1000: Hiera YAML ba

Re: [Puppet Users] can create a top level variable in my enc

2016-07-06 Thread Alex Samad
. wasn't too clear on that page... thanks again On Wednesday, 6 July 2016 17:03:46 UTC+10, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Alex Samad" > > > To: "puppet-users" > > > Sent: Wednesday, 6 July, 2016

[Puppet Users] can create a top level variable in my enc

2016-07-06 Thread Alex Samad
Hi I have a bash script produce this for my test node --- environment: production ybenv: alextest I have this in my hiera.yaml file :hierarchy: # node specific - "nodes/%{::trusted.certname}" # OS specific - "os/%{::osfamily}" # Envornment - "ybenv/%{::ybenv}" # common to all

Re: [Puppet Users] Working with hiera and debugging

2016-07-05 Thread Alex Samad
g these and notify around my code to find out what happening. This and hiera and puppet agent -t --noop -d -v has been helping.. found this also https://docs.puppet.com/puppetserver/latest/dev_debugging.html On Wednesday, 6 July 2016 09:31:03 UTC+10, Alex Samad wrote: > > On 6 July 201

Re: [Puppet Users] Working with hiera and debugging

2016-07-05 Thread Alex Samad
On 6 July 2016 at 08:44, Alex Samad wrote: > But on the test node I try -t --noop --verbose. but it doesn't give me > any info about this. Seems like I got that wrong, just applied -d to one of my test commands on a test node and it has spewed out lots of info ... -- You received t

Re: [Puppet Users] Working with hiera and debugging

2016-07-05 Thread Alex Samad
Hi On 5 July 2016 at 23:32, jcbollinger wrote: > > > On Saturday, July 2, 2016 at 1:21:03 AM UTC-5, Alex Samad wrote: >> >> Incase somebody googles to here >> >> >> i found this >> >> puppet apply --certname= -e "notice(hiera('

[Puppet Users] puppet hiera setup

2016-07-03 Thread Alex Samad
the node hiera would take precedence of the class variables - but I think not. I think I have to move the setup into common.yaml .. So i have to do more testing with this. once I have more profiles I will group them together as a role and then allocate roles to nodess... Any thoughts

Re: [Puppet Users] Working with hiera and debugging

2016-07-01 Thread Alex Samad
vironment=production ::trusted.certname= on the puppet master to give you info from hiera .. helpful On Monday, 27 June 2016 17:02:31 UTC+10, Alex Samad wrote: > > Hi > > Okay, I have downloaded and will re do he trainging VM. > > But I have finished the reading this blog

Re: [Puppet Users] Hiera question

2016-07-01 Thread Alex Samad
module installed deep_merge I have checked this out , but don't think it covers it. https://docs.puppet.com/hiera/3.2/complete_example.html Alex On Saturday, 2 July 2016 09:57:41 UTC+10, Alex Samad wrote: > > Hi > > Thanks for replying > > But I have been looking not say

Re: [Puppet Users] Hiera question

2016-07-01 Thread Alex Samad
answers for now http://www.slashroot.in/puppet-hiera-tutorial-example-configuration A On 2 Jul 2016 1:00 AM, "Henrik Lindberg" wrote: > On 01/07/16 06:20, Alex Samad wrote: > >> Hi >> >> I have in my common.yaml >> >> --- >> classes: >> - ssh >

[Puppet Users] Hiera question

2016-06-30 Thread Alex Samad
Hi I have in my common.yaml --- classes: - ssh How do I say if the OS is linux then add that class ? Thanks Alex -- 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 i

[Puppet Users] Help with setting up a profile

2016-06-28 Thread Alex Samad
Hi I have a new install. I want to use the node <- role <<- profiles setup. I want to define a profile for sshd for my environment. So I want to use a sshd module (I will check the forge) and have some things preset. 1) I would like to turn off password acces for root account 2) turn off x11

Re: [Puppet Users] Re: external node classifier my setup

2016-06-28 Thread Alex Samad
Hi Sorry not trying to argue but just like to get my view point in On 29 June 2016 at 08:30, jcbollinger wrote: > > > On Monday, June 27, 2016 at 6:42:58 PM UTC-5, Alex Samad wrote: >> >> On 27 June 2016 at 23:33, jcbollinger wrote: >> > >> > Alex, &

Re: [Puppet Users] Re: external node classifier my setup

2016-06-27 Thread Alex Samad
On 27 June 2016 at 23:33, jcbollinger wrote: > > Alex, > > I will be brief(ish) this time, since wordiness seems not to be working. > I've been around Puppet for a fairly long time, and I think I know what I'm > talking about, but by all means do evaluate my claims f

Re: [Puppet Users] Working with hiera and debugging

2016-06-27 Thread Alex Samad
I have signed this. Now this is what I am probably missing is the link in the production environment to the class list - via roles / profiles ? I am presuming I need to look at work with /etc/puppetlabs/code/environments/production/manifests/site.pp and get that to work with hiera .. Alex On 2

Re: [Puppet Users] Working with hiera and debugging

2016-06-26 Thread Alex Samad
's really nothing better than actually trying to use the software to > learn it. > > > On Monday, June 27, 2016, Alex Samad wrote: >> >> Hi >> >> Okay, i do it a bit simpler :) >> >> /etc/puppetlabs/puppet/hiera.yaml >> >> i added >>

Re: [Puppet Users] Working with hiera and debugging

2016-06-26 Thread Alex Samad
ARE valid reasons to > assign classes via Hiera (e.g. assigning a role to the node based on the > output of a custom Hiera backend) but this wouldn't be the approach I > recommend to a newbie. :) > > > On 6/26/2016 8:41 PM, Alex Samad wrote: > > Hi > > Newbie - g

[Puppet Users] Working with hiera and debugging

2016-06-26 Thread Alex Samad
uides/external_nodes.html node_terminus = exec external_nodes = /usr/local/bin/puppet_node_classifier I was use a node classifier at the top level to place nodes into environments - but I am testing grouping nodes in to groups in 1 env/ all it produces is --- environment: alex for now cat

Re: [Puppet Users] external node classifier my setup

2016-06-26 Thread Alex Samad
n allocate "environment stuff" Again I am unsure how I implement what I am trying to do. I will pick winbind - just to highlight the difference not the package etc etc. My plan was to create a profile lets say "alex winbind" it would have all of my config info for the module. th

Re: [Puppet Users] Re: external node classifier my setup

2016-06-24 Thread Alex Samad
On 25 June 2016 at 00:32, jcbollinger wrote: > > > On Thursday, June 23, 2016 at 6:11:11 PM UTC-5, Alex Samad wrote: >> >> On 24 June 2016 at 00:16, jcbollinger wrote: > > > [...] > >> >> > In the first place, I recommend not using multiple P

[Puppet Users] Writing my first role

2016-06-23 Thread Alex Samad
Hi So greenfield install. I'm a newbie. I have setup the latest puppet open source, using r10k + git. I have started with the control-repo. I have my 'alex' branch/environment. I can see there is a directory site/profile/manifests I presume I can put my "code" he

Re: [Puppet Users] Re: external node classifier my setup

2016-06-23 Thread Alex Samad
On 24 June 2016 at 00:16, jcbollinger wrote: > > > On Thursday, June 23, 2016 at 1:30:37 AM UTC-5, Alex Samad wrote: >> >> Hi >> >> So I am a bit of a newbie. My assumption was to setup using a master >> puppet server. But I wanted to make sure that e

Re: [Puppet Users] Re: external node classifier my setup

2016-06-22 Thread Alex Samad
23 June 2016 at 16:30, Alex Samad wrote: > Hi > > So I am a bit of a newbie. My assumption was to setup using a master > puppet server. But I wanted to make sure that environment was handled > by the master puppet - I have control over that and I might not be > able to exclud

Re: [Puppet Users] Re: external node classifier my setup

2016-06-22 Thread Alex Samad
fra in the non prod environment. Thanks Alex On 23 June 2016 at 03:26, jcbollinger wrote: > > > On Wednesday, June 22, 2016 at 2:21:27 AM UTC-5, Alex Samad wrote: >> >> :))) >> >> seems like after writing this I found my answer >> >> I used >&g

[Puppet Users] Re: external node classifier my setup

2016-06-22 Thread Alex Samad
:))) seems like after writing this I found my answer I used puppet agent --test --verbose shows me that it is classified as environment alex. thats good. but puppet config print environment still show production? so I am guessing the above just looks at the puppet config files and as I

[Puppet Users] external node classifier my setup

2016-06-22 Thread Alex Samad
t; #echo "classes:" #echo " - common" #echo "parameters:" #echo "environment: production" echo "environment: alex" ;; *) exit 1

[Puppet Users] Re: security around puppet facts

2016-06-21 Thread Alex Samad
Hi Seems like I might have jumped the gun tried puppet facts a.xyz.com from machine here.xyz.com. the first line sayes name: a.xyz.com, but the info seems to be from here.xyz.com alex On Wednesday, 22 June 2016 15:50:56 UTC+10, Alex Samad wrote: > > Hi > > working my way thro

[Puppet Users] security around puppet facts

2016-06-21 Thread Alex Samad
the entire setup of a my production servers just by naming them here. Is there any way to limit who | what gets sent back. could you limit it such that the calling (client) can only see info about its self and noone else ? I suppose how to you allow the puppet master to do it then Alex

Re: [Puppet Users] Newbie question re Hiera

2016-06-21 Thread Alex Samad
Done some more reading. I'm have a master puppet server I had thought to use hiera. seems like i need to setup ENC https://docs.puppet.com/guides/external_nodes.html Alex On Wednesday, 22 June 2016 10:39:34 UTC+10, Rob Nelson wrote: > > Typically, you wouldn't actually cl

[Puppet Users] Newbie question re Hiera

2016-06-21 Thread Alex Samad
Hi I have a greenfield install. Centos 6.x puppet opensource latest. installed r10k. I have setup my git repo, used the control repo as a starting spot. now I am getting my head around hiera Looking at this https://docs.puppet.com/hiera/3.1/complete_example.html I understand the way that w

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-19 Thread Alex Samad
environment -pv info >> ${PUPPET_ENVIRONMENT} >> >> >> >> >> On Thursday, June 2, 2016 at 2:33:31 PM UTC-5, Stefan Heijmans wrote: >>> >>> HI, >>> >>> Maybe you check the r10k workshop [1] which will do a complete >>> walkthrough

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-08 Thread Alex Samad
gt; >> >> >> >> On Thursday, June 2, 2016 at 2:33:31 PM UTC-5, Stefan Heijmans wrote: >>> >>> HI, >>> >>> Maybe you check the r10k workshop [1] which will do a complete >>> walkthrough of r10k or just watch their video [2] of it. >

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-01 Thread Alex Samad
production branch ... On Thursday, 2 June 2016 10:04:52 UTC+10, Alex Samad wrote: > > Oh... > > Okay now I am getting lost :) Sorry trying to multi task. > > I will go back to the docu & link and see which I need to do. > > But I believe I am at the setup git / r10k stage .

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-01 Thread Alex Samad
E only. It looks like you're using > Puppet Opensource instead. > > On Tuesday, May 31, 2016, Alex Samad > > wrote: > >> Answer my own question (and for any one following on) >> >> going to use >> https://docs.puppet.com/pe/2016.1/cmgm

Re: [Puppet Users] Re: Puppet 4.5 and git & R10K

2016-05-31 Thread Alex Samad
://rnelson0.com/2014/05/19/puppet-and-git-201-r10k-setup-installation/ On 1 June 2016 at 10:56, Alex Samad wrote: > Hi > > Lowe - okay - so I presume by that it doesn't come as a centos rpm .. > Rob - yes > Lee > > > So it looks like (more for my documentation ) >

Re: [Puppet Users] Re: Puppet 4.5 and git & R10K

2016-05-31 Thread Alex Samad
to use it. > > > > 2016년 5월 31일 화요일 오후 3시 40분 49초 UTC+9, Alex Samad 님의 말: >> >> Hi >> >> New install, I am doing this on Centos 6.x >> I have installed the repo RPM >> >> I believe this is PC1 repo >> >> >> yum --disablerepo

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Alex Samad
Thanks. I did get onto the code control section which seems to suggest I should use it instead of git/r10k as it hids this away behind the scene ! On 31 May 2016 at 22:36, Rob Nelson wrote: > Alex, some of the later r10k articles have changed workflows, you may want > to read the whole

[Puppet Users] Puppet 4.5 and git & R10K

2016-05-30 Thread Alex Samad
Hi New install, I am doing this on Centos 6.x I have installed the repo RPM I believe this is PC1 repo yum --disablerepo '*' --enablerepo puppetlabs-pc1 list | grep puppetlabs-pc1 puppet-agent.x86_64 1.5.0-1.el6 @puppetlabs-pc1 puppetdb.noarch

Re: [Puppet Users] Puppet and SVN

2016-05-30 Thread Alex Samad
/puppet and you recommended putting that under git. I see with the latest version of puppet I have /etc/puppetlabs should I place that under git The only thing of concern there would be the ssl directory. or do i just add code/ puppet/ puppetserver/ THanks Alex -- You received this messa

Re: [Puppet Users] Puppet and SVN

2016-05-25 Thread Alex Samad
x27;t > scale very well. > > > On Wednesday, May 25, 2016, Alex Samad wrote: >> >> Hi >> >> Thanks for all the input. >> >> What I have gathered >> >> Start with GIT from the beginning. Okay I can do that >> >> /etc/*puppetwhatev

Re: [Puppet Users] Puppet and SVN

2016-05-25 Thread Alex Samad
d versions of puppet and r10k, so check to make sure > you're using the modern file locations, but otherwise remains accurate. > https://rnelson0.com/2014/05/19/puppet-and-git-201-r10k-setup-installation/ > > There's a link to a Git 100 series I wrote if you need assistance wit

Re: [Puppet Users] Puppet and SVN

2016-05-23 Thread Alex Samad
Hi Is it really that painful to retro fit git. or is the way you think about the DB that different ? Could you point a good starting point to read up on this ? Thanks Alex On 24 May 2016 at 07:16, Christopher Wood wrote: > On Mon, May 23, 2016 at 03:51:58PM +1000, Alex Samad wrote: >

Re: [Puppet Users] Puppet and SVN

2016-05-22 Thread Alex Samad
, currently thinking Prod - all prod env SIM - testing for prod INF - inf NON Prod - anything thats not above dev - testing alex - personal Then I was going to create a whole bundle of profiles break up into OS app things like smtp ssh http etc have the default company setup Company Apps things that

  1   2   3   >