t;>>>
>>>>> - It may be a copy and paste error, but you don't close your Match
>>>>> Address string in the pasted Hiera file above. That would cause your
>>>>> Yaml
>>>>> to be incorrect, and probably ignored.
>>
Hello Henrik,
Do you have a hunch to why this is not working?
Thanks,
Dan.
On Friday, July 31, 2020 at 7:40:22 PM UTC+1, Henrik Lindberg wrote:
>
> On 2020-07-31 19:41, A Manzer wrote:
> > Did you update site.pp to use the include syntax?
>
> That is not needed to make automatic parameter look
syntax instead. I'd change your
>>> entry in site.pp to be
>>>
>>>
>>> node lhcsrvprdcms01.domain.com {
>>> include permitroot
>>> }
>>>
>>> BTW, out of curiosity, are you using the Puppet PDK
>>> <http
m {
> include permitroot
> }
>
> BTW, out of curiosity, are you using the Puppet PDK
> <https://puppet.com/docs/pdk/1.x/pdk.html> to develop this module? It
> brings *a lot* of boilerplate, but it also brings things like Yaml syntax
> validating and syntax validatin
> hiera data goes under a data folder.)
>
> Also, ensure that your yaml file is named lhcsrvprdcms01.domain.com.yaml.
> You need the *full* node name, *and* the .yaml at the end for hiera to
> find it. That's tripped me up a few times...
>
> On Thursday, July 30, 202
Hello experts,
I'm struggling with some node specific heria. I basically want to add the
following lines to a number of nodes:
Match Address xx.xx.xx.xx
PermitRootLogin without-password
I have the following in place in an attempt to acheive this:
# pwd
/etc/puppetlabs/code/environments/produc
Perfect!!! Thank you Martin.
On Saturday, February 29, 2020 at 3:49:04 PM UTC, Martin Alfke wrote:
>
> Sorry. wrong function:
>
> content => $set.join("\n")
>
> hth,
> martin
>
>
> > On 29. Feb 2020, at 15:56, Dan Crisp >
> wrote:
> &g
>
> hth,
> martin
>
>
> > On 29. Feb 2020, at 14:42, Dan Crisp >
> wrote:
> >
> > Hi,
> >
> > Attempting to popualte a file with a hiera array.
> >
> > I have the following hiera defined:
> >
> > # more commo
Hi,
Attempting to popualte a file with a hiera array.
I have the following hiera defined:
# more common.yaml
vimrc:
- 'syntax on'
- 'colo delek'
- 'set nu'
- 'set cursorline'
- 'set history=1000'
- 'set showmode'
- 'set showcmd'
Puppet lookup seems to return what I expect to see
ml from the node name.
>
> --
> *Becca Robinson*
> Senior Professional Services Engineer
> be...@puppet.com | @_itgrl_
> cell: (913) 752-7084
> Puppet <https://www.puppet.com> *The shortest path to better software.*
>
>
>
> On Feb 24, 2020, at 8:06 AM,
t_root_login: without-password
>
>
> Where you can lookup sshdconfig::match_address
>
>
> As you've already noted, this naming convention is most appropriate for a
> module sshdconfig. If there is such a module, its parameters match_address
> and permit_root_login w
er, have sufficient permissions to
be at least read.
On Wednesday, February 26, 2020 at 1:27:22 PM UTC, Henrik Lindberg wrote:
>
> On 2020-02-25 16:51, Dan Crisp wrote:
> > This is what I have:
> >
> > ---
> > sshdconfig:
> >match_address: "xx.xx
shdconfig to be be a module. Not the
case in this instance. In fact, the hiera in question is not refferenced
in any module or class etc. Is that the issue?
On Tuesday, February 25, 2020 at 3:34:49 PM UTC, Bart-Jan Vrielink wrote:
>
> Hello,
>
>
> I see you are looking for '
27;s not being
read. How can I confirm that the file is actualy being read rather than
simply sucessfully displayed in the lookup output.
On Tuesday, February 25, 2020 at 12:58:02 PM UTC, Henrik Lindberg wrote:
>
> On 2020-02-25 13:42, Dan Crisp wrote:
> > I included the --compile opt
environments/production/data/common.yaml"
Original path: "common.yaml"
Path not found
Function lookup() did not find a value for the name 'match_address'
Still no luck finding the requested value though.
Thanks,
Dan.
On Monday, February 24, 2020 at 7:13:25 PM
Hello Henrik, thanks for your reply. This file:
environment/production/data/nodes/nodename.domain.com.yaml
On Monday, February 24, 2020 at 4:26:37 PM UTC, Henrik Lindberg wrote:
>
> On 2020-02-24 17:06, Dan Crisp wrote:
> > Hello all,
> >
> > Strugling to get starte
Hello all,
Strugling to get started with Hiera (all new to me):
# more /etc/puppetlabs/puppet/hiera.yaml
---
*# Hiera 5 Global configuration file*
version: 5
# defaults:
# data_hash: yaml_data
# hierarchy:
# - name: Common
#data_hash: yaml_data
hierarchy: []
# more environments/producti
Hello all,
Can someone help me out please with this. I can't see what the issue is or
what it is I'm doing wrong:
augtool> set /files/etc/logrotate.d/syslog/rule/file[last()+1]
"/var/log/puppet"
augtool> ls /files/etc/logrotate.d/syslog/rule/
file[1] = /var/log/cron
file[2] = /var/log/maillog
Hi,
I'm looking for some advice on a best approach on a topic that I'm know
where near an expert in. Should the following be dealt with via a
template, hera or something else?
Our goal is to deploy a standard SSH configuration across all servers
albeit some minor alternations to a handful. A
relationship works. References in the
> Puppet code point to resource declarations in Puppet code, not to the
> artifacts on the system that are managed by those resource declarations.
>
> [image: reference_manifest.png]
>
> This means that unless you're actually managing that file wit
Hi,
I'm seeing the following error when running the agent on a server:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Could not find resource 'File[/etc/logrotate.d/syslog]' in
parameter 'subscribe' (file:
/etc/puppetlabs/code/environments/production/m
Much appreciated Becca for pointing my mistake out.
On Tuesday, October 8, 2019 at 12:48:00 AM UTC+1, Rebecca Robinson wrote:
>
> Yeah you are referring to the instructions of one module while trying to
> use another.
>
> puppetlabs/selinux_core != puppet/selinux
>
>
>
>>
>>
--
You received t
son*
>
>
> On Oct 7, 2019, at 6:58 AM, Dan Crisp >
> wrote:
>
> Hello all,
>
> I've download the selinux module from Puppet forge:
>
> puppet module list
> /etc/puppetlabs/code/environments/production/modules
> └── fixnetix-base (v0.1.0)
> /etc/pup
Hello all,
I've download the selinux module from Puppet forge:
puppet module list
/etc/puppetlabs/code/environments/production/modules
└── fixnetix-base (v0.1.0)
/etc/puppetlabs/code/modules
├── *puppetlabs-selinux_core (v1.0.2)*
└── puppetlabs-stdlib (v6.1.0)
/opt/puppetlabs/puppet/modules (no
Hello all,
I’m not sure what I’m attempting can be best accomplished via a template so
please do correct me if there is better/simpler method.
On our servers within the SSH configuration, we have/need the following
line:
ListenAddress x.x.x.x
This is standard for all our servers
Thanks to all that contributed. I managed to solve the issue. Transpires
that the permissions on the files and directories (0640 for the most part)
was not sufficient. I had to ensure that all files in question had 0644
and directories at 0755 permissions set to get this to work. A simple
Thanks to all that contributed. I managed to solve the issue. Transpires
that the permissions on the files and directories (0644 for the most part)
was not sufficient. I had to ensure that all files in question had 0644
and directories at 0755 permissions set to get this to work. A simple
toward here nor anything helpful that
contributes to resolving the issue.
Thanks,
Dan.
On Friday, September 27, 2019 at 2:21:32 PM UTC+1, jcbollinger wrote:
>
>
>
> On Friday, September 27, 2019 at 7:20:51 AM UTC-5, Dan Crisp wrote:
>>
>> Please see below. Apologies, the
No. I only have
/etc/puppetlabs/code/environments/production/manifests/site.pp
On Friday, September 27, 2019 at 1:03:20 PM UTC+1, Dirk Heinrichs wrote:
>
> Am Freitag, den 27.09.2019, 11:50 + schrieb Dirk Heinrichs:
>
> Am Freitag, den 27.09.2019, 03:43 -0700 schrieb Dan Cri
;/opt/puppetlabs/puppet/cache/state/last_run_summary.yaml",
:mode=>"644", :ensure=>:file, :loglevel=>:debug, :links=>:follow,
:backup=>false}'
Debug: Using settings: adding file resource 'lastrunreport':
'File[/opt/puppetlabs/puppet/cache/state/last_
g, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp:
>
> /etc/puppetlabs/code/environments/production:
> total 20
> -rw-r--r--. 1 root root 808 Sep 25 20:47 environment.conf
>
>
> What does this one contain? I don't have these in my environments.
>
> Bye...
>
> Dirk
&
alog in 0.15 seconds
On Friday, September 27, 2019 at 10:22:56 AM UTC+1, Dirk Heinrichs wrote:
>
> Am Donnerstag, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp:
>
> node 'default' {
>
>
> Should be "node default {"
>
> HTH...
>
> Dirk
fault", then puppet will only apply the class if the
> node's fqdn is "default".
>
> Josh
>
> On Thu, Sep 26, 2019 at 9:55 AM Dan Crisp >
> wrote:
>
>> Hello all,
>>
>> Been at this problem I have for nearly a week now and it's
Hello all,
Been at this problem I have for nearly a week now and it's driving
crazy!!! I hope it's simply a case of someone with some fresh eyes taking
a look and showing me the error of my ways.
Before I continue with the Puppet deployment, for testing purposes, I just
want to create a sin
Hello all,
Been at this problem I have for nearly a week now and it's driving
crazy!!! I hope it's simply a case of someone with some fresh eyes taking
a look and showing me the error of my ways.
Before I continue with the Puppet deployment, for testing purposes, I just
want to create a sin
Hello all,
Been at this problem I have for nearly a week now and it's driving
crazy!!! I hope it's simply a case of someone with some fresh eyes taking
a look and showing me the error of my ways.
Before I continue with the Puppet deployment, for testing purposes, I just
want to create a sin
36 matches
Mail list logo