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
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
/then or switch case to 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-
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
>
> On Thursday, August 18, 2016, Alex Samad <al...@samad.com.au >
> wrote:
>
>> Hi
>>
>> I have recently gone through this problem.
>>
>> I had initial thought to you different branches for the different
>> environments.
>> say
>>
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
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
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.
Alex
--
e 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 first
> PV
> VG
> PV
> mount that in /var/lib/pgsql/9.2/data and then use
>
> # default
> class { 'postgres
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:
>
> Hi
>
> Just tried this
>
>
> logical_vo
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:
>>
>> Alex
>>
>> You're looking for 'R
l
>
> Basically, you can add "requires => Logical_Volume['lv_pgdata']" to the
> 'postgresql::server' class, and if the Logical_Volume resource fails for
> whatever reason, then the 'postgresql::server' class will be skipped...
>
> HTH
>
> Gav
>
> O
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
ing wrong with them being 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 <a...@samad.com.au> wrote:
>>
>> Hi
>>
>> Thanks, very interesting, I had recently been testin
_e_wh...@icloud.com
>>
>> “Sometimes I think the surest sign that intelligent life exists elsewhere
>> in the universe is that none of it has tried to contact us.” (Bill
>> Waterson: Calvin & Hobbes)
>>
odule for vmtools:
> https://forge.puppet.com/razorsedge/vmwaretools
>
> HTH,
> --Nick
>
> On Wed, Aug 10, 2016 at 11:45 PM, Alex Samad <a...@samad.com.au> wrote:
>> Hi
>>
>> so I have a repo of vmware-tools.*.tgz files located at a website.
>>
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
what do i look up in the documents to learn more about this ?
On 8 August 2016 at 23:14, jcbollinger <john.bollin...@stjude.org> 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
&
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 mo
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
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:
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"
> > To:
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:
>
> Hi
>
> I
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=
Thanks
On Thursday, 21 July 2016 11:31:46 UTC+10, R.I. Pienaar wrote:
>
>
>
> - Original Message -
> > From: "Alex Samad" <al...@samad.com.au >
> > To: "puppet-users" <puppet...@googlegroups.com >
> > Sent: Wednesday, 20
sources are sorted numerically, so you
> can have multiple 100 rules in different profiles and it won't cause a
> problem unless one of them is a deny, in which case you probably want to
> start the name with 99 - or have unique rules across profiles, though that
> doesn't scale v
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
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
>
>
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_ybenv}"
# OS
Hi
if I have this
hieradata/
|-- common.yaml
|-- nodes
| `-- dev1.adbc.com.yaml
|-- os
| `-- RedHat.yaml
:hierarchy:
# node specific
- "nodes/%{::trusted.certname}"
# Applicaiton - YB
- "ybapplication/%{::pp_ybapplication}"
# Envornment - YB
- "ybenv/%{::pp_ybenv}"
#
Hi
presume i have in my hiera.yaml something like this
:hierarchy:
- env/%{::ybenv}
lets presume that env is not set in my ENC.
but lets say in a module that is included by my
hiera_include(classes) in my manifests/sites.pp
I have this
$::env=Test
and then I do a
hiera
ree
> [5]
> https://gist.github.com/fatmcgav/cbacf6380639301779ea894180a4568a#file-calling-class-java-pp
>
> On Tuesday, 12 July 2016 01:36:30 UTC+1, Alex Samad wrote:
>>
>> Hi
>>
>> Thanks, but ! not all of my boxes have internet access.
>>
>> Bu
om/puppetlabs/java#usage). The
> link has some examples of using the defined type to install oracle java 6
> and oracle java 8.
>
> HTH
>
> On Mon, Jul 11, 2016 at 5:00 PM, Alex Samad <a...@samad.com.au> wrote:
>>
>> Ta
>>
>> but ! I don't want to use th
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
Hi
I am using the control-rep from git
(https://github.com/puppetlabs/control-repo)
it has site/profile/manifest/.pp
I am creating a profile for standard install of java.
There is a file I would like to associated with this profile / class.
But I have created
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}"
&
Hi
Using a global ENC - this is allocating facts like location and envornment.
in my hiera I had
# Envornment - YB
- "ybenv/%{::ybenv}"
so I would have say
prod.yaml
and
# Location - YB
- "yblocation/%{::yblocation}"
to id location or datacentre
I setting
yblocation: alc << not
.
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" <al...@samad.com.au >
> > To: "puppet-users" <puppet...@googlegro
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
se 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 2016 at
On 6 July 2016 at 08:44, Alex Samad <a...@samad.com.au> 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
Hi
On 5 July 2016 at 23:32, jcbollinger <john.bollin...@stjude.org> 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 --cer
Hi
Looking for some feed back on this.
master puppet setup. Open source install using R10K and the control-repo
gone with 2 envirenments
production
testing
using a ENC at the global level
/etc/puppetlabs/puppet/puppet.conf
This is where I use the company classifier. for environments and
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
> http:
le 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 saying it's n
://www.slashroot.in/puppet-hiera-tutorial-example-configuration
A
On 2 Jul 2016 1:00 AM, "Henrik Lindberg" <henrik.lindb...@puppet.com> wrote:
> On 01/07/16 06:20, Alex Samad wrote:
>
>> Hi
>>
>> I have in my common.yaml
>>
>> ---
>> classes:
>&
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 it, send an
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
Hi
Sorry not trying to argue but just like to get my view point in
On 29 June 2016 at 08:30, jcbollinger <john.bollin...@stjude.org> wrote:
>
>
> On Monday, June 27, 2016 at 6:42:58 PM UTC-5, Alex Samad wrote:
>>
>> On 27 June 2016 at 23:33, jcbollinger &l
ck.
>
> On Friday, June 24, 2016 at 9:20:58 PM UTC-5, Alex Samad wrote:
>
>>
>> The point i was trying to make was not the how. But that a group of
>> nodes will have 1 config and another a different config. It seems
>> like environments would be the way to grou
or
> the agent to manage. You still need to write your node manifest files.
> Note that this differs from a class manifest.
>
>
>
> On 6/27/2016 12:23 AM, Alex Samad wrote:
>>
>> Hi
>>
>> Okay, i do it a bit simpler :)
>>
>> /etc/puppetlabs/pu
st few weeks.
> There's really nothing better than actually trying to use the software to
> learn it.
>
>
> On Monday, June 27, 2016, Alex Samad <a...@samad.com.au> wrote:
>>
>> Hi
>>
>> Okay, i do it a bit simpler :)
>>
>> /etc/puppetlabs/pupp
re 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 - gr
Hi
Newbie - greenfield install . Centos 6.8 - PC1 puppet. Master puppet setup.
I have installed R10K and git and hiera.
I would like to group my nodes into groups
I'm doing some testing
testnode - puppet client
masternode - puppet master
On the master node I have
cat
y says
if node is in prod use this module
if node is in sim use this module
if node is in inf use this module
is that right
A
On 25 June 2016 at 13:28, Rob Nelson <rnels...@gmail.com> wrote:
>
> On Friday, June 24, 2016, Alex Samad <a...@samad.com.au> wrote:
>
On 25 June 2016 at 00:32, jcbollinger <john.bollin...@stjude.org> wrote:
>
>
> On Thursday, June 23, 2016 at 6:11:11 PM UTC-5, Alex Samad wrote:
>>
>> On 24 June 2016 at 00:16, jcbollinger <john.bo...@stjude.org> wrote:
>
>
> [...]
>
>>
>
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" here for example
cat
On 24 June 2016 at 00:16, jcbollinger <john.bollin...@stjude.org> 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 serve
?
A
On 23 June 2016 at 16:30, Alex Samad <a...@samad.com.au> 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
non infra in the non
prod environment.
Thanks
Alex
On 23 June 2016 at 03:26, jcbollinger <john.bollin...@stjude.org> 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
haven't set environment it defaults to production !
So the question is, is this the best way to do it ?
Alex
On Wednesday, 22 June 2016 17:13:04 UTC+10, Alex Samad wrote:
>
> Hi
>
> Might have this wrong. But..
>
> I have puppet install - got r10k and will be using hiera
>
Hi
Might have this wrong. But..
I have puppet install - got r10k and will be using hiera
I wanted to have 1 script / programatic way of classifying scripts into
environments. I wanted to be able to look at certname and maybe ip address.
So I found this
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
Hi
working my way through a puppet install. Working on my external node
classifier. Found this
puppet facts
Seems like I can run this from any machine and it queries the DB and return
me information about that node. Seems like a bit of a security leak...
from my windows machine I can see
ypically use hiera to classify the node and assign the classes
> it receives, though. That would be done with hiera_include('some_key'),
> where somekey is found in your hierarchy with the proper value.
>
> On Tuesday, June 21, 2016, Alex Samad <al...@samad.com.au >
> wrote:
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
t;
>> 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.
>>>
>>> [1] https
TC-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.
>>>
>>> [1] https://github.com/adrienthebo/r10k-workshop/blob/mas
is PE only. It looks like you're using
> Puppet Opensource instead.
>
> On Tuesday, May 31, 2016, Alex Samad <al...@samad.com.au >
> wrote:
>
>> Answer my own question (and for any one following on)
>>
>> going to use
>> https://docs.puppet.com/pe/2016.1
://rnelson0.com/2014/05/19/puppet-and-git-201-r10k-setup-installation/
On 1 June 2016 at 10:56, Alex Samad <a...@samad.com.au> 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
> These will guide you how 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
>>
>>
&g
r you place those in your
> controlrepo or another repo is up to you.
>
>
> Rob Nelson
> rnels...@gmail.com
>
> On Tue, May 31, 2016 at 1:01 AM, Alex Samad <a...@samad.com.au> wrote:
>>
>> Hi
>>
>>
>> Finally got some time to look at this
>
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
Hi
Finally got some time to look at this
On 24 May 2016 at 11:22, Rob Nelson wrote:
> I wrote some articles on using Git with puppet and r10k. It's a little out
> of date in the referenced versions of puppet and r10k, so check to make sure
> you're using the modern file
profiles, though that doesn't
> scale very well.
>
>
> On Wednesday, May 25, 2016, Alex Samad <a...@samad.com.au> wrote:
>>
>> Hi
>>
>> Thanks for all the input.
>>
>> What I have gathered
>>
>> Start with GIT from the beginning. Okay I can do tha
ce with Git
> itself.
>
>
> On Monday, May 23, 2016, Alex Samad <a...@samad.com.au> wrote:
>>
>> 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 st
8PM +1000, Alex Samad wrote:
>> How hard is it to retro fit SVN / GIT onto a puppet install.
>>
>> I am building from scratch, working through the doco.
>>
>> Was thinking once I have a friendly setup then I would look at putting
>> that into SVN/GIT.
>
> Do
you are
> getting started:
>
> https://git-scm.com/book/en/v1/Git-and-Other-Systems-Git-and-Subversion
>
> - Rilindo
>
> -Original Message-
> From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On
> Behalf Of Alex Samad
> Sent: Sunday, May 22, 2
Ta
I was at the last puppet (sydney ) users group. heard r10k mentioned a lot.
Also I got the impression that git was more closely integrated with puppet.
Should I be l looking at git ?
A
On 23 May 2016 at 10:40, Henrik Lindberg <henrik.lindb...@puppet.com> wrote:
> On 22/05/16 12
Hi
just starting out with puppet.
I found
this http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control
old page
talks about checking /etc/puppet into svn.
But on my centos install I have /etc/puppetlabs/puppet
do I add /etc/puppetlabs or /etc/puppetlabs/puppet to svn and if the
Hi
I have been working through the training vm. ran into a lot of issue with
the agent_setup.
I have fixed up the docker -T issue but still can't get it to start I run
puppet agent -t
puppet agent -t Info: Using configured environment 'production' Info:
Retrieving pluginfacts Info:
Hi
I am just about finished running through the tutorial.
I am planing ahead for rolling out puppet to manage my linux servers.
So I am thinking I need a puppet servers. all the linux boxes need access
to this server on port 80 & 443
My first task is to standardize the standard username's
So I tried a few times yesterday ... today its working !!!
On 8 January 2016 at 09:37, Alex Samad <a...@samad.com.au> wrote:
> Quick feed back on the VM
>
> fails to start RHEL makes the disk offline and then it just never starts :)
>
>
>
> On 8 January 2016 at 00:5
Quick feed back on the VM
fails to start RHEL makes the disk offline and then it just never starts :)
On 8 January 2016 at 00:57, jcbollinger <john.bollin...@stjude.org> wrote:
> On Wednesday, January 6, 2016 at 10:25:05 PM UTC-6, Alex Samad wrote:
>>
>> Hi
>>
>&g
Hi
New to puppet. I am trying to do some testing. I have a centos 6.7
installed VM. I have setup the puppet repo's
Then installed puppetserver-2.2.1-1.el6.noarch
I edited this
/etc/puppetlabs/puppet/puppet.conf
added in
[main]
dns_alt_names=puppet,puppet.abc.com
the FQDN for the machine
agent's host. It's not entirely clear
> where you are running "puppet agent" and "puppet cert".
>
> This thing often gets recommended:
>
> https://puppetlabs.com/download-learning-vm
>
> Also lots of reading here:
>
> http://docs.puppetlabs.com
86 matches
Mail list logo