e master.
I don't see how can that be conflict.
regards
--
Albert SHIH 嶺
France
Heure locale/Local time:
ven. 12 avril 2024 09:32:07 CEST
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving
var = $path
but IMHO it should be
if $name is underf
$namevar = $path
else
$namevar = $name
I find another solution but it need a little more configuration from the
user of the module.
>
> HTH...
Thanks.
Regards.
--
Albert SHIH 嶺
France
Heure locale/Local time:
lun. 0
eve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Error while evaluating a Resource Statement,
Cannot alias File[file for host1] to ["/etc/something.conf"] at (file:
/etc/puppetlabs/code/environments/x/modules/thing/manifests/thing.pp, line:
72); resource [
export the same file name (with different
> > ressource name) to different hosts.
>
> The combination of resource type, title and namevar must be unique.
> path is the namevar of the file resource type.
Agree. But the title is "file for ${host}" so the combination ar
line: 72, column: 5) on node XYZ
I don't see why I cannot export the same file name (with different
ressource name) to different hosts.
puppet client : 7.29.1 (Debian/puppetlabs official package)
puppet server: 7.16.0 (Debian/puppetlabs official package)
Regards
--
Albert SHIH 嶺
France
Heure
de on how
> they got delivered.
>
Indeed. It's exactly that, someone use template for a PNG.
Thanks a lot.
--
Albert SHIH 嶺
France
Heure locale/Local time:
lun. 02 oct. 2023 17:21:33 CEST
--
You received this message because you are subscribed to the Google Groups
"Puppet Users&qu
not render to rich_data_json: source sequence is illegal/malformed
utf-8
So I try to run
puppet facts --verbose --debug --render-as json
and no error, I got my json.
Same with facter -p
So how I find where the problem are.
Regards
--
Albert SHIH
Heure locale/Local time:
ven. 29 sept
Le 09/11/2020 à 11:21:57-0800, Ben Ford a écrit
> On Mon, Nov 9, 2020 at 9:18 AM Albert Shih wrote:
> [...]
>
> I've check static yaml file, but that's not very convenient, the file can
> be very big (we got ~2000 object cannot run puppet), and because lot of
>
+ puppet, so I'm little afraid it's not de best
solution, or some very custom solution.
What would be the best (and can last in time meaning not something too
fancy) to do that. ?
Regards.
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Mon Nov 9 05:56:33 PM CET 2020
cron { 'first':
command => $my_script::first::script_path
}
my_script { 'second':
name => 'my_script_second'
}
cron { 'second':
command => $my_script::first_second::script_path
}
Regards
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local
Hi everyone
I try to do a very simple shuffle in a array but I need the shuffle to by
repeatable like fqdn_rand.
In any other langage it's seem very simple to do a Fischer-Yate but only
with map/reduce like I cannot figure out how to do that.
Regards.
--
Albert SHIH
Observatoire de Paris
Heure
e { 'foo':
> ...
> provider => npm,
> ...
> }
Well...no that easy, lots of those installer from the software vendor are
interactive, so you need to answer some stupid question to build the config
file. I need to do the reverse engineering to known where those answer end
up.
But tha
ng some gitlab/github + fpm, I run all the script from the software
vendor, and built a package.
Using puppet install that package.
Put my config file in puppet
Each time I need a upgrade I rerun my git pull/push CI to build the
package
Am I correct ?
Regards.
--
Albert SHIH
Observ
wget 'URL' | sh
(Ok I know it's not secure...) but well...
I event find out a script I am unable to run through exec resource (I
didn't find out why).
So my question : How you manage those kind of installation (beside manually
or using a docker image).
Regards.
--
Albert SHIH
DIO bātim
Hi everyone.
When I search documentation about tasks, plan and bolt, almost all
documentation I find talk about puppet enterprise version.
So if I use puppet community version, what can I do with taks/plans and
more important what I cannot do (vs Puppet Enterprise).
Regards
--
Albert SHIH
.
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Mon 16 Sep 2019 03:50:48 PM CEST
--
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, sen
Le 30/08/2019 à 15:56:22+0200, Albert Shih a écrit
> Hi
>
> I've got a super weird problem with some module. I've a role who include
> some other module let's say
>
> roles::service {
>
> include profiles::brick1
>
> include profiles::brick2
>
> }
&
, and everything work fine.
I just can figure out where are the problem inside profiles::brick2.
What inside a module can block every package ressources (event
ensure_package doesn't work) ?
Regards.
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Fri 30 Aug 2019
ey = ${h}")
> }
WellI understand but it's a example, actually I can't do this with
regexp. Of course I can to it with some very long test.
But I will keep your nice suggestion.
Thanks.
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Thu 06 Jun 20
Le 05/06/2019 à 17:09:14+0200, Albert Shih a écrit
> Hi
>
> I try to write a code to delete some key inside a hash. So I got this
>
> $_dataset = reduce($dataset.map |$key, $value| { {$key =>
> delete($value,['remove_key1','remove_key2','remove_key3'])} }) | $result,
&g
ome other not. I'm unable to
understand the difference or find out why it delete some key (event not in
the remove_key array), and keep some other.
Regards.
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Wed 05 Jun 2019 04:57:36 PM CEST
--
}
to not get a lot of if.
Regards
--
Albert SHIH
DIO bātiment 15
Heure local/Local time:
Wed Jan 16 12:06:15 CET 2019
--
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, sen
e/docs/GettingStarted.md
Maybe (well ok not maybe, it's sure ;-) ) I do something wrong but when I'm
using puppet strings generate it's seem I loose a « level ».
Regards
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Fri Sep 21 23:02:49 CEST 2018
-
Le 21/09/2018 à 10:43:12+0200, Albert Shih a écrit
> Hi everyone,
>
> I try to build my documentation with strings. So for each class it's
> working well. But for each module I'm unable to make strings transform the
> README.md and put it some place like the root of each modul
Le 21/09/2018 à 13:54:59+0200, Henrik Lindberg a écrit
> On 2018-09-20 10:17, Albert Shih wrote:
> > Le 19/09/2018 à 16:00:20+0200, Henrik Lindberg a écrit
> >
> > I know that, and generaly that's would be my solution, but the point is
> > apache::vhost got a *lot* of at
module I have the README.md and every class in that module. Currently
I'm only get every class.
Regards.
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Fri Sep 21 10:40:53 CEST 2018
--
You received this message because you are subscribed to the Google Groups
Le 19/09/2018 à 16:00:20+0200, Henrik Lindberg a écrit
> On 2018-09-19 15:24, Albert Shih wrote:
> >
> > I'm would like to have a profile for example for apache.
> >
> >profile::apache
> >
> > who can pass some hash to apache. For example let's say
', $something)
i need to exclude « monitored » from that hash table. And...I don't know
how to do that. I try map, reduce etc.. and was unable to exclude some
nested key/value from a hash.
Regards
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Wed
very short and common ?
Regards
--
Albert SHIH
xmpp: j...@obspm.fr
Heure local/Local time:
Sun Feb 25 14:41:27 CET 2018
--
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 em
io manifests]$
>
> puppet-lint seem to be a very powerfull tool. I don't understand why he
> cannot complain when something very simple like a missing comma cannot be
> detected.
>
--
Albert SHIH
xmpp: j...@obspm.fr
Heure local/Local time:
Tue Feb 20 22:49:11 CET 2018
--
oxpupuli:
> https://voxpupuli.org/plugins/#puppet-lint
Thanks.
But well the comma was just a example. The point is puppet-lint are (IMHO)
very powerfull tool, why he cannot integrate the «puppet parser» feature ?
Like rubocop does for ruby ?
Regards.
--
Albert SHIH
xmpp: j...@obspm.fr
Heure local/Local t
t 'Boolean' (file:
/home/jas/Travaux/puppet/modules/apache/manifests/init.pp, line: 19, column: 3)
[root@io manifests]$
puppet-lint seem to be a very powerfull tool. I don't understand why he
cannot complain when something very simple like a missing comma cannot be
detected.
Regards.
--
Albert
oring_slave'
so I can access to those informations informations everywhere. Or do it in
other way because it's « bad » way to do that?
Regards
JAS
--
Albert SHIH
xmpp: j...@obspm.fr
Heure local/Local time:
Fri Feb 16 13:42:57 CET 2018
--
You received this message because you are subscribed to the Goog
in H1 I can very easily imported those resource. Or I need
share a information between those two hosts (and I don't know how to do
that properly when I have lot of exported resources).
What's best way ?
Regards.
--
Albert SHIH
Observatoire de Paris
--
You received this message because yo
ng non-vendored
> SemanticPuppet gem, version 1.0.1
> /home/david/.puppetlabs/etc/code/modules
> ├── puppetlabs-apt (v4.4.1)
> └── puppetlabs-stdlib (v4.24.0)
> /opt/puppetlabs/puppet/modules (no modules installed)
> david@davids:~/git/tmp/foo$
>
>
> On Wed, Dec 13, 2017 at 1:26
ot;: "puppetlabs/stdlib",
"version_requirement": ">= 4.16.0 < 5.0.0"
}
],
and as I know 4.24.0 match the version_requirement
Regards
--
Albert SHIH
xmpp: j...@obspm.fr
Heure local/Local time:
Wed Dec 13 14:21:53 CET 2017
--
You received this message bec
agent on all you client ?
Regards
--
Albert SHIH
Heure local/Local time:
Wed Dec 6 17:24:19 CET 2017
--
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 email
to pu
Le 02/02/2017 à 18:09:58+0100, Henrik Lindberg a écrit
> On 02/02/17 14:28, Albert Shih wrote:
> > Hi,
> >
> > We just update puppet-agent (Debian, puppetlabs repot) on the puppetserver
> > (last version), and every agent stop working with this error
> >
> >
Le 02/02/2017 à 14:28:17+0100, Albert Shih a écrit
> Hi,
>
> We just update puppet-agent (Debian, puppetlabs repot) on the puppetserver
> (last version), and every agent stop working with this error
>
>
> Info: Using configured environment 'jas'
> Info: Retrieving plugin
Hi everyone.
I find on internet, but it's old thread, about accessing to ressource's
attributes create by a « define ».
I would like to know if it's still impossible to do. For example get some
$::apache::vhost
who return a hash who containt the all config.
Regards.
JAS
--
Albert SHIH
DIO
sh $site_info |
etc.
}
Regards.
NB: I answer to a old post, hope that's not against some rule...
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
lun
Le 16/11/2016 à 10:34:36+0100, Craig Dunn a écrit
>
>
> On Wed, Nov 16, 2016 at 10:18 AM, Albert Shih <albert.s...@obspm.fr> wrote:
>
> Le 16/11/2016 à 09:34:50+0100, Craig Dunn a écrit
>
>
> This is exaclty what I try to do. Event I sometime use create_r
m the component modules isn't an
> option... If you genuinely need data populated at this level, then it's part
> of the implementation of your technology stack, therefore should be at the
> profile level, not the role level.
>
Ok got it.
> I highly recommend you read this post by
derstand the hiera('profile::cms::Key1') )
Regards.
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
xmpp: j...@obspm.fr
Heure local/Local time:
mer 16 nov 2016 08:34:00 CET
--
You received this message because you are subscribed to the G
g the acl rules by hand is dangourous too ;-)
Regards.
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
xmpp: j...@obspm.fr
Heure local/Local time:
mer 16 nov 2016 08:29:13 CET
--
You received this message because you are subscribed to the Goog
master.server'
}
instead
firewal {'accept for puppetserver':
destination => 'x.y.z.t/32',
}
regards.
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
xmpp: j...@obspm.fr
Heure local/Local time:
lun 14 nov 2016 22:38
?
Regards
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
mer 14 sep 2016 17:41:29 CEST
--
You received this message because you are subscribed
class from other class.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
ven 9 sep 2016 16:16:27 CEST
--
You received this message
two server, because I'm
lazzy guy I would like just include the role_first_CMS inside the dev and
sandbox, because the only difference (beside data inside hiera) are we add
some scripts for the synchro.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195
t; group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email
> to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/
> puppet-users/3853ea85-22a0-44f0-9fa2-4f3d23a17a08%40googlegroup
; apache::vhost { 'my_drupal_vhost':
> listen => 80,
> docroot => '/opt/drupal',
> otherparams => 'I can't remember',
> }
I will try that. I didn't known the « contain » methods. So until now I use
class or include, and the point is it's working wi
my_drupal_class. If I don't load the class { apache }
I'm going to loose most of the params.pp (Like the version, the logpath
etc..)
Regards.
JAS
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp
.
JAS
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
lun 22 aoū 2016 15:35:41 CEST
--
You received this message because you are subscribed to the Google
te_resources('apache::vhost', $hiera_vhosts)
}
but I don't see how I can put those two informations inside the
hiera_vhosts values.
Regards.
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
Hi
I would like to known the compatibility matrix between puppetserver and
agent.
For example can I use the lastest puppet 4.4 and pupperserver 2.3 with old
agent come from puppet 2.7.x ?
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
or example is it possible to put "category" inside the first yaml in that case
::clientcert.yaml ?
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
He
ellI would like itbut no...
>
> Or a stupid workaround would be to have a fact that is that one line, and a
> puppet template that adds the line. So puppet would manage the whole file but
> the line would not be affected by a puppet run.
Hummsorry I don't understand your workaround....
this file is not in any
« standard » format.
I prefer not to manage it through file_line because this config file is
large.
What kind of solution do I have ?
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07
in
hostname.yaml
so something like
users_list"+":
- user4 user4_ssh_key
- user5 user5_ssh_key
The purpose is to add some users for specific host, but always keep some
basic users.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Me
Hi,
I would like to known how can I make something like
file{ }
-> include ::other_module
(file can be any puppet ressource) other than put some require inside the
::other_module
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meu
ean for me.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
lun 19 oct 2015 14:37:03 CEST
--
You received this message because you are subsc
this vm, so I need
to launch puppet agent inside that vm.
For that I need to create a
hieradata/newvm.yaml
and add
manifest/nodes/newvm.pp
Is it a good idea to use exported ressource to create those two files ?
Regards.
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules
)
asset.yaml
in all node using the hiearchy I feel that's not very clean.
I agree...it's not very important thing.
Regards.
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
--
You received this message because you are subscribed
file where are those
problem.
Regards.
--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
--
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
a database, those
data is specific to that host. And because this file is pretty big I don't
known if it's a good idea to use hierachy to include in every host
(knowing
I've no way to use those data outside to my_host)
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
on the networking device (switch etc..) we got
ip-camera, ip-sensor etc...
That's exactly the pointI don't have the hability to run puppet agent
anywhere.
Regards.
--
Albert SHIH
DIO bâtiment 15
--
You received this message because you are subscribed to the Google Groups
Puppet Users group
this file is pretty big I don't
known if it's a good idea to use hierachy to include in every host (knowing
I've no way to use those data outside to my_host)
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26
/apache module.
Yes I can create a huge hiera config but that's going to be very hard to
maintain because apache::vhost get lot of params. So I'm going to need to
create a very big hiera file.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon
.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
jeu 18 jui 2015 16:05:23 CEST
--
You received this message because you are subscribed
Le 11/06/2015 à 06:13:29-0700, jcbollinger a écrit
On Wednesday, June 10, 2015 at 5:05:00 PM UTC-5, Albert Shih wrote:
Hi,
I would like to known if it's possible to extend a module without touching
the module.
I mean let's take sample :
If I want use
my_service {
include ::things
things::addthing { 'first' }
things::addthing { 'second' }
things::addthing { 'third' }
# and now I want inside $my_things a string like 'first, second, third'
}
Regards.
--
Albert SHIH
Heure local/Local time:
jeu 11 jui 2015 22:14:50 CEST
. Of course I don't need all of
them, but with time this module going to grow. And I get same problem
with update.
So are they some technics to do that ? In other way how you do that ?
Regards
--
Albert Shih
Heure local/Local time:
mer 10 jui 2015 21:55:53 CEST
--
You received this message because
72 matches
Mail list logo