Skip to content

Commit f11707d

Browse files
author
Kevin Paulisse
committed
Additional lookup path and Mac OS X hints
1 parent 9726c2a commit f11707d

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

doc/configuration-puppet.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ In order to successfully use Puppet to compile catalogs:
2828
Your Puppet installation must have the `puppetdb-termini` gem available. This gem may not be included by default with the Puppet agent package.
2929

3030
Consult the [Connecting Puppet masters to PuppetDB](https://docs.puppet.com/puppetdb/latest/connect_puppet_master.html#step-1-install-plug-ins) documentation for instructions on installing the `puppetdb-termini` gem.
31+
32+
:warning: Attention Mac OS users: the [documentation](https://docs.puppet.com/puppet/latest/reference/puppet_collections.html#os-x-systems) states:
33+
34+
> While the puppet-agent package is the only component of a Puppet Collection available on OS X, you can still use Puppet Collections to ensure the version of package-agent you install is compatible with the Puppet Collection powering your infrastructure.
35+
36+
Unfortunately this means that you won't be able to enable `--storeconfigs` with the All-In-One Puppet Agent on Mac OS X.

examples/octocatalog-diff.cfg.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ def self.config
142142
##############################################################################################
143143

144144
# These are some common defaults. We recommend removing this and setting explicitly below.
145-
puppet_may_be_in = %w(/opt/puppetlabs/puppet/bin/puppet /usr/bin/puppet /usr/local/bin/puppet)
145+
puppet_may_be_in = %w(
146+
bin/puppet
147+
/opt/puppetlabs/puppet/bin/puppet
148+
/usr/bin/puppet
149+
/usr/local/bin/puppet
150+
)
146151
puppet_may_be_in.each do |path|
147152
next unless File.executable?(path)
148153
settings[:puppet_binary] = path

0 commit comments

Comments
 (0)