Re: [Puppet Users] Puppet Basics Blog Post

2018-05-06 Thread Joaquin Menchaca
lates, switch to EPP > > Best, > Martin > > > > On 1. May 2018, at 23:47, Joaquin Menchaca <joaqu...@gmail.com > > wrote: > > > > I wrote this blog to teach newbies* about Puppet: > > > > > https://medium.com/@Joachim8675309/learn-

[Puppet Users] Re: Class composition + parameterization

2018-05-06 Thread Joaquin Menchaca
I spotted it, seems obvious now: class dk_oracle_java::install inherits dk_oracle_java { package { 'oracle-java8-installer': ensure => $version, } } On Sunday, May 6, 2018 at 2:55:40 PM UTC-7, Joaquin Menchaca wrote: > > I am sleuthing for this and haven't found anything ob

[Puppet Users] Class composition + parameterization

2018-05-06 Thread Joaquin Menchaca
I am sleuthing for this and haven't found anything obvious yet. I have an init.pp that looks like this class dk_oracle_java ( $docroot = $::dk_oracle_java::params::docroot, Optional[String] $local_repo = $::dk_oracle_java::params::local_repo, $version =

[Puppet Users] puppet-rspec - external modules? use vendored instead of download?

2018-05-06 Thread Joaquin Menchaca
I am getting started with puppet-rspec, and I setup my external modules required in the site/$module/.fixtures.yml, with something like --- fixtures: forge_modules: apt: puppetlabs/apt stdlib: puppetlabs/stdlib debconf: stm/debconf I noticed that these are downloaded each and

[Puppet Users] Re: puppetlabs-apt module apt::ppa broken?

2018-05-06 Thread Joaquin Menchaca
I fixed this, for some reasons I thought this was optional include apt apt::ppa { 'ppa:webupd8team/java': } I wish this was a proper type and provider, rather than puppet module w/ defines. On Friday, May 4, 2018 at 12:56:20 PM UTC-7, Joaquin Menchaca wrote: > > I tried ap

[Puppet Users] Re: Puppetfile with 'puppet apply'?

2018-05-05 Thread Joaquin Menchaca
ta from the defined hieradata directory. > > Look here https://github.com/example42/psick/blob/production/bin/papply.sh > for the needed command line parameters. > > On Wednesday, May 2, 2018 at 5:55:12 AM UTC+2, Joaquin Menchaca wrote: >> >> Is it possible to use Puppetfi

[Puppet Users] puppetlabs-apt module apt::ppa broken?

2018-05-04 Thread Joaquin Menchaca
I tried apt::ppa { 'ppa:webupd8team/java': } , and I get *Warning*: Unknown variable: '::apt::ppa_options'. (file: /home/vagrant/.puppetlabs/etc/code/modules/apt/manifests/ppa.pp, line: 4, column: 36) *Warning*: Unknown variable: '::apt::ppa_package'. (file:

[Puppet Users] Puppet 5 requires stdlib for templates?

2018-05-04 Thread Joaquin Menchaca
Playing catch-up from Puppet 3 days to Puppet 5. I noticed that I can no longer to templates w/o puppet-stdlib installed? Was this a design decision (feature) or a bug? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

[Puppet Users] Re: How to test apt w/ class that uses apt::source?

2018-05-03 Thread Joaquin Menchaca
expectations for any resource type, so something > like this should work: > > it { is_expected.to contain_apt__source('nginx').with( ... } > > > > On Thursday, May 3, 2018 at 10:12:33 AM UTC+2, Joaquin Menchaca wrote: >> >> >> >> I am using ngi

[Puppet Users] How to test apt w/ class that uses apt::source?

2018-05-03 Thread Joaquin Menchaca
I am using nginx package from nginx folks. I used the apt::source like this: The documentation is fairly decent for standard resources like package and stuff, e.g. it { is_expected.to contain_package('nginx').with(ensure: 'present') } I am wondering how I could go about testing this,

[Puppet Users] Re: Puppetfile with 'puppet apply'?

2018-05-01 Thread Joaquin Menchaca
(editor doens't have color syntax , so ss) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Re: Puppetfile with 'puppet apply'?

2018-05-01 Thread Joaquin Menchaca
I got the lucky google search and found this gist: https://gist.github.com/brasey/030b318a37b07acd21af I was able to get off the ground this below, but I am wondering, how do dependencies of dependencies get resolved? Is this a manual thing? r10k doesn't do a Puppetfile.lock? sudo su -

[Puppet Users] Puppetfile with 'puppet apply'?

2018-05-01 Thread Joaquin Menchaca
Is it possible to use Puppetfile with 'puppet apply'? I have been having difficulty finding this. I wanted to use the Puppetfile to download and vendor modules in the modules directory. >From my research so far, it looks like r10k with open source puppet server, and code manager with PE, but

[Puppet Users] Puppet Basics Blog Post

2018-05-01 Thread Joaquin Menchaca
I wrote this blog to teach newbies* about Puppet: https://medium.com/@Joachim8675309/learn-puppet-puppet-basics-b58787ad * I was a newbie once -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

[Puppet Users] Blogged about Bolt (command / script )

2018-05-01 Thread Joaquin Menchaca
I wanted to do something akin to Knife Bootstrap but with Puppet Bolt. So I wrote this about it: https://medium.com/@Joachim8675309/puppet-bolt-to-bootstrap-puppet-nodes-f27801693355 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Re: How to Orchestrate State, such as use IPs of new systems for config other systems

2018-05-01 Thread Joaquin Menchaca
vs. Choria? I ask this not from marketing bs, but real get down to the nerd enthusiasts perspective. On Monday, April 30, 2018 at 11:19:46 PM UTC-7, R.I. Pienaar wrote: > > > On 1 May 2018, at 08:04, Joaquin Menchaca <joaqu...@gmail.com > > wrote: > > Both Choria and Jer

[Puppet Users] Re: Announcement: Release of Bolt 0.19.1

2018-05-01 Thread Joaquin Menchaca
Any good how-tos, tutorials on Bolt beyond command and ssh? I'm interested in tasks and plans beyond the current docs. I am curious how to make them... -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] Re: How to Orchestrate State, such as use IPs of new systems for config other systems

2018-05-01 Thread Joaquin Menchaca
PM UTC-7, Andreas Zuber wrote: > > On 04/30/2018 06:29 PM, Joaquin Menchaca wrote: > > > > Bolt has me curious. I have dabbled around with it, running commands or > > a script to a remote node. Are there other ways I could use this? > > Could I use it to int

[Puppet Users] Re: How to Orchestrate State, such as use IPs of new systems for config other systems

2018-04-30 Thread Joaquin Menchaca
: > > > > Am Samstag, 28. April 2018 03:31:24 UTC+2 schrieb Joaquin Menchaca: >> >> Hello Puppeteers, >> >> Relearning Puppet (converting Ansible, Chef knowledge), not sure best >> approach for this. How can I configure systems based on state of another >>

[Puppet Users] How to Orchestrate State, such as use IPs of new systems for config other systems

2018-04-27 Thread Joaquin Menchaca
Hello Puppeteers, Relearning Puppet (converting Ansible, Chef knowledge), not sure best approach for this. How can I configure systems based on state of another system? Essentially, I would use a tool like Terraform to bring up systems. When their IP addresses are available, I would then

[Puppet Users] Puppet Agent broken on OS X (Yosemite w/ Ruby 2.2.0)?

2015-03-24 Thread Joaquin Menchaca
$ ruby --version ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14] $ puppet --version /Users/vagrant/.rvm/gems/ruby-2.2.0/gems/puppet-3.7.4/lib/puppet/defaults.rb:465: warning: duplicated key at line 466 ignored: :queue_type

[Puppet Users] Re: Craig Dunn's Roles/Profiles/Components Conflicts

2014-05-19 Thread Joaquin Menchaca
Out of curiosity, what exactly are all the components you are trying to install, e.g. CMSes? Drupal? WordPress? Joomla? Is that database going to be on the same system? Note, segue here before I divulge a solution, perhaps sacrilegious, is that the role/profile might not be the best design

[Puppet Users] Re: Calculating network address - boolean opertors

2014-05-19 Thread Joaquin Menchaca
Did you escape the meta character of dot? $octets = split($ip, '[.]') On Monday, May 19, 2014 12:01:48 AM UTC-7, Michael Wörz wrote: Hello folks i need a bit of help calculating the network address from ip an netmask avoiding the use of stdlib within a puppet maifest. #given IP

[Puppet Users] Re: Craig Dunn's Roles/Profiles/Components Conflicts

2014-05-19 Thread Joaquin Menchaca
You could do global variables, but you couldn't one set the hierarchy to the profile level? Thus you isolate variables in preference to the profile, rather than a global mismash. Stick with parametrization for now if this works, refactor later after getting it working, as you'll have a

[Puppet Users] Re: Craig Dunn's Roles/Profiles/Components Conflicts

2014-05-16 Thread Joaquin Menchaca
Hello Jesse Matt. This might be a dumb question, but can you build a system manually with the various CMSes? Are there a cross-set of technologies (Apache, PHP, MySQL) that will work on all CMSes in your organization? I would think in terms in how you would build these systems manually w/o

[Puppet Users] Re: Craig Dunn's Roles/Profiles/Components Conflicts

2014-05-16 Thread Joaquin Menchaca
Hello: This might be a dumb question, but can you build a system manually with the various CMSes? Are there a cross-set of technologies (Apache, PHP, MySQL) that will work on all CMSes in your organization? I would think in terms in how you would build these systems manually w/o puppet in

[Puppet Users] Re: Nasty.

2014-05-16 Thread Joaquin Menchaca
My guess. Incompatible underlying ruby version. On Friday, May 16, 2014 7:20:49 AM UTC-7, Paul Seymour wrote: Hello, Just updated to 3.6.0 and a strange thing is happening (might not be related to 3.6 specifically just testing before making the jump from 2.7 for real). I have a puppet

Re: [Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2014-05-01 Thread Joaquin Menchaca
I think to illustrate is better to make it more clear, let me get back to you on this, once I look it over. On Wednesday, April 30, 2014 9:21:48 AM UTC-7, Rob Reynolds wrote: On Tue, Apr 29, 2014 at 5:45 PM, Joaquin Menchaca joaqu...@gmail.comjavascript: wrote: What is most important

[Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2014-04-29 Thread Joaquin Menchaca
What is most important to me is to have the ability to set ACLS on existing resources, such as file, service, and registry (and other objects). For now, it would be an immediate boon to apply the, oh so ugly, SDDL for a given resource, like a service. Later, we can have an SDDL builder, that

[Puppet Users] Enumerating Puppet Arrays

2014-04-02 Thread Joaquin Menchaca
Is there a way to do something like this: class make_it_so { $scripts = [a.rb, b.rb] cron { $scripts: command = /path/$scripts, user= 'deploy', hour= '*/4', minute = '0', } } The attribute usage of the array will just take the entire array

[Puppet Users] Re: Debugging a Node form site.pp?

2014-02-12 Thread Joaquin Menchaca
class deployenv::passenger () { file { nginx.conf: ... } exec { nginx_install: ...} } On Wednesday, February 12, 2014 6:27:15 AM UTC-8, jcbollinger wrote: On Tuesday, February 11, 2014 6:05:54 PM UTC-6, Joaquin Menchaca wrote: I was wondering is there is a way to see what puppet things

[Puppet Users] Re: Debugging a Node form site.pp?

2014-02-12 Thread Joaquin Menchaca
Alright, I found the source of my problem, at least I think. The puppetmaster includes path to modules based on an environment (staging, production, qa) and a global path shared by all environments. The deployenv was in both locations, global and the environmental ones. The module shared by

[Puppet Users] Debugging a Node form site.pp?

2014-02-11 Thread Joaquin Menchaca
I was wondering is there is a way to see what puppet things a node resource is, such as classes it includes. Somehow in our environment it is picking up a class that we did not specify. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] Windows Features/Roles vs. DISM

2013-04-07 Thread Joaquin Menchaca
I was wondering what experiences (or how to get started) with configuring features and roles (some of which may require reboot) on Windows 2008R2 (and other versions) that others might have had. Manually, I have experimented with DISM and ServerManagerCmd.exe on Win2k8r2. I found DISM to be

[Puppet Users] Windows Installers with EULA agreement GUI

2013-04-07 Thread Joaquin Menchaca
There are a few packages from Microsoft, such as the MVC libraries with .NET that we use. The unfortunate experience is that these have to go through a GUI installer that requires the user to AGREE to the EULA. I was wondering if there was a way to bypass the GUI in general and have it