If $facts['versionrepokubelocal'] is an integer I don't think your
comparison will work. Try:
```
if $facts['versionrepokubelocal'] != 2 {
notify { "Upgrading repository version": }type here
}
```
--
Aaron Russo (He/Him/His)
PIXAR | Lead Systems Enginee
ecipient, please delete the e-mail and any
>> attachments and notify us immediately.
>>
>> --
> 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
Don't you need a Deferred call to read into the hash, since it's a Deferred?
We use a Deferred inline_epp to do this:
```
$test = Deferred('vault_lookup::lookup', ["secret/data/test",
'https://examplevault.com:8200'])
node default {
notify { 'example':
message => Deferred('inline_epp', ['<
ionality in
hiera.
What I've done is similar to petems-hiera_vault except I return a Deferred
function to perform the vault_lookup::lookup on the agent side rather than
perform the vault lookup on the server side.
Thanks,
Aaron
--
Aaron Russo (He/Him/His)
PIXAR | Senior Systems Engineer
On Tue
it is the only value being interpolated.
I was then able to use that value as desired, provided whatever was
consuming the value accepted (and unwrapped) the Sensitive[String] that was
returned from the Deferred function.
Cheers,
Aaron
On Monday, October 31, 2022 at 1:00:25 PM UTC-7 Aaron
e changes in Hiera/Puppet, this part may not be
possible? Anyone have experience with this?
On Fri, Oct 21, 2022 at 2:28 PM Aaron Russo wrote:
> We're using the vault_lookup[1] module to retrieve secrets from Vault via
> mTLS. It works fairly well when grabbing secrets within a manif
We're using the vault_lookup[1] module to retrieve secrets from Vault via
mTLS. It works fairly well when grabbing secrets within a manifest.
However it feels like an anti-pattern by forcing lookups into our manifests
when we want to keep that in Hiera. I found a previous related thread[2]
wher
Hi Henrik,
I traced down the issue, and it's actually not hiera. The problem is
actually the version of hiera-eyaml backend we are running. Updating from
2.0.0 -> 2.1.0 appears to resolve the issue.
Thanks for your help,
Aaron Russo
Platforms and Infrastructure
UC Berkeley, IST
On Mon
Hi Henrik,
Yes, hiera_hash is doing it as well. That's what led me down the road to
debugging directly with Hiera.
Aaron Russo
Platforms and Infrastructure
UC Berkeley, IST
On Fri, Jun 10, 2016 at 6:37 PM, Henrik Lindberg wrote:
> On 10/06/16 20:14, aru...@berkeley.edu wrote:
>
>
Hey Brendan,
I did notice you aren't setting environmentpath in the config section in
your gist. Maybe try setting environmentpath in vagrant? See below for what
I would try.
@@ -31,6 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
puppet.options = "--config /vagrant/puppet
you had:
link: https://gist.github.com/arusso23/4712284
(I'm on 3.0.1 btw)
Cheers,
Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
---
Desk: 510-643-5550Mobile: 510-206-1532
IM: aru...@berkeley.edu (XMPP/Jabber)
--
You received this message because you are subs
lt;%= port %>
backend_weight<%= backend -%> = 1
backend_data_directory<%= backend -%> = '/db/pg'
backend_flag<%= backend -%> = 'ALLOW_TO_FAILOVER'
<% backend += 1 -%>
<% end %>
Cheers,
Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
---
I think you might have an error in your regex. In particular, it looks like
you're missing a '.', so /^uklab*$/ should probably be /^uklab.*$/
Cheers,
Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
---
Desk: 510-643-5550Mobile: 510-206-1532
IM: aru...@ber
g
it, feel free to email me off-list.
Cheers,
Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
---
Desk: 510-643-5550Mobile: 510-206-1532
IM: aru...@berkeley.edu (XMPP/Jabber)
On Wed, Dec 19, 2012 at 11:27 AM, Forrie wrote:
> In our department, we recently bought an in
ter/puppet/post-receive_environments
Cheers,
Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
On Thu, Dec 6, 2012 at 3:55 PM, Peter Brown wrote:
> Hi Thomas,
>
> About the only way I can see that working is if you setup a cron job on
> the puppet master that updates the svn and the
version of
puppet (so that users of 2.6.x, 2.7.x and 3.0.x could continue to receive
the latest and greatest for their version). But I also don't have to
manage the thing, so I respect that it didn't turn out this way. However,
I think the method of communicating to the community can be i
Had this exact same problem last night.
String.starts_with? wasn't introduced until Ruby 1.8.7. Make sure you have
Ruby 1.8.7 or greater installed.
Regards,
Aaron
On Jul 11, 2012, at 7:11 AM, Peter Berghold wrote:
Hi there,
After seeing a tweet about puppet-lint I went ahead and installed
p
17 matches
Mail list logo