| Time |
S |
Nick |
Message |
| 00:22 |
|
|
spicyWith joined #salt |
| 00:30 |
|
|
wiliam joined #salt |
| 00:42 |
|
|
dcrouch joined #salt |
| 01:33 |
|
spicyWith |
anyone else seeing that salt will return false negatives - i.e. something failed to happen when that's not the case? |
| 01:49 |
|
teancom |
spicyWith: Example? |
| 01:51 |
|
spicyWith |
I was trying to create a user and a group with the same name. In the same minion I was also installing nginx. It said it had failed at everything, but nginx actually got installed, and the user home directory also got created |
| 01:51 |
|
spicyWith |
^^ teancom |
| 01:53 |
|
teancom |
Well, it just looks at return codes. It's possible for (say) a package to get installed while still having problems (post-install scripts didn't run correctly, etc) |
| 01:53 |
|
teancom |
Same with user creation. Did it create the homedir, but wasn't able to set the gid correctly (etc)? |
| 02:09 |
|
spicyWith |
teancom: yes, I think that was the problem |
| 02:10 |
|
spicyWith |
I'm having some trouble doing an ssh-add for a private key, so I'm wondering if that's the same thing going on there |
| 03:15 |
|
|
SEJeff joined #salt |
| 03:15 |
|
|
redparchel joined #salt |
| 03:23 |
|
|
redparchel joined #salt |
| 03:23 |
|
|
redparchel left #salt |
| 03:26 |
|
|
UtahDave joined #salt |
| 03:34 |
|
CIA-119 |
salt: Jeff Schroeder develop * r16b3b54 / (4 files): Add some missing docs for new states fixing #1053 - http://git.io/4GNG8w |
| 03:34 |
|
CIA-119 |
salt: Jeff Schroeder develop * rd518dcb / (salt/states/mysql_grants.py salt/states/postgres_database.py): Fix a few rST buglets and some bunk whitespace - http://git.io/T685hA |
| 03:35 |
|
|
tgecho1 joined #salt |
| 03:37 |
|
|
tgecho1 left #salt |
| 03:38 |
|
|
SEJeff joined #salt |
| 05:13 |
|
|
mrtrosen joined #salt |
| 05:18 |
|
|
redparchel joined #salt |
| 05:32 |
|
|
dcrouch joined #salt |
| 06:49 |
|
|
rendar joined #salt |
| 08:05 |
|
|
flox joined #salt |
| 08:32 |
|
|
errstr joined #salt |
| 08:32 |
|
|
redbeard2 joined #salt |
| 09:18 |
|
|
redparchel joined #salt |
| 09:37 |
|
|
Gareth joined #salt |
| 09:54 |
|
|
masm joined #salt |
| 10:08 |
|
|
kukulissimo joined #salt |
| 13:10 |
|
|
redparchel joined #salt |
| 13:47 |
|
|
tgecho joined #salt |
| 13:50 |
|
|
ncode joined #salt |
| 14:20 |
|
|
ncode_ joined #salt |
| 15:14 |
|
|
kukulissimo joined #salt |
| 15:18 |
|
|
carmony joined #salt |
| 16:28 |
|
blast_hardcheese |
I'm not really a RHEL guy, is 0.9.6 really the most recent thing in epel? |
| 16:29 |
|
blast_hardcheese |
I thought we had 0.9.8 in there |
| 16:34 |
|
Sypher|NL |
quick question, what is needed to make your own grains.py? 'import salt' should be enough no? the minions aren't picking my file up :( |
| 16:35 |
|
blast_hardcheese |
Where did you put that file? |
| 16:35 |
|
Sypher|NL |
in _grains of the master server, synced it, restarted minions.. no dice |
| 16:36 |
|
blast_hardcheese |
Hmm... I must admit, I've never used grains. Is there a salt-call way to evaulate grains? |
| 16:38 |
|
Sypher|NL |
salt '*' grains.ls shows them |
| 16:38 |
|
Sypher|NL |
hmm looks like its there now |
| 16:38 |
|
Sypher|NL |
it failed to show up.. most likely a bug on my end |
| 16:39 |
|
blast_hardcheese |
try running the minion in debug mode, might be an issue loading the grain |
| 16:39 |
|
Sypher|NL |
hmm perhaps i should submit this grain, could be useful for others as well |
| 16:39 |
|
blast_hardcheese |
What's it do? |
| 16:40 |
|
Sypher|NL |
it generates a hash, based on the hostname (integers only) |
| 16:40 |
|
Sypher|NL |
i was looking for a way of handling "server-id" settings for MySQL replication but didn't feel like specifying it per server |
| 16:41 |
|
blast_hardcheese |
Oh, someone else was looking for a way to sequentially run state.highstate, that could help them |
| 16:44 |
|
Sypher|NL |
would it? makes more sense if the master simply iterates trough the list I guess |
| 16:44 |
|
blast_hardcheese |
iirc they were looking for a workaround, but I think they opened an issue for it. |
| 16:46 |
|
blast_hardcheese |
Ah, https://github.com/saltstack/salt/issues/804 , nevermind I guess |
| 16:46 |
|
Sypher|NL |
quite a lot of comments |
| 16:50 |
|
blast_hardcheese |
Yeah, looks like a good feature though. I'm currently trying to get 0.9.8 installed on CentOS (package dep issues though, since I'm installing from source) |
| 16:50 |
|
|
tgecho joined #salt |
| 16:52 |
|
Sypher|NL |
there submitted :) |
| 16:52 |
|
blast_hardcheese |
Cool :) |
| 16:53 |
|
Sypher|NL |
now on to figuring out how i can override a managed file (default/context) so i can tweak the config per-server |
| 16:53 |
|
Sypher|NL |
not sure yet how to do that without too much duplicated code |
| 16:54 |
|
blast_hardcheese |
check out pillar |
| 16:56 |
|
Sypher|NL |
hmm lets see if that does what I need :) |
| 16:57 |
|
Sypher|NL |
(i'm trying to override which tables should be replicated in the mysql config) |
| 16:57 |
|
Sypher|NL |
as this differs per server type |
| 16:59 |
|
blast_hardcheese |
sounds like a pillar task |
| 17:01 |
|
Sypher|NL |
the * is the same as in the normal topfile? so it can be a pcre with 'web*'? |
| 17:04 |
|
Sypher|NL |
hmm and the example doesn't show whether its possible to make a list out of it, so i can let the template loop trough it |
| 17:07 |
|
blast_hardcheese |
Yeah, I believe so |
| 17:07 |
|
blast_hardcheese |
Hmm... |
| 17:08 |
|
blast_hardcheese |
Try listing the attrs as a list in YAML format? |
| 17:28 |
|
CIA-119 |
salt: vitaliyf develop * rba98b38 / doc/ref/states/top.rst : Minor documentation typo fix. - http://git.io/7s0YLw |
| 17:28 |
|
CIA-119 |
salt: Thomas S Hatch develop * r8537305 / doc/ref/states/top.rst : |
| 17:28 |
|
CIA-119 |
salt: Merge from vitaliyf/develop |
| 17:28 |
|
CIA-119 |
salt: Minor documentation typo fix. - http://git.io/8AGR_A |
| 17:31 |
|
CIA-119 |
salt: Thomas S Hatch develop * r268b8bf / salt/grains/core.py : |
| 17:31 |
|
CIA-119 |
salt: Merge from syphernl/patch-1 |
| 17:31 |
|
CIA-119 |
salt: Add a feature to retrieve a server ID based on FQDN - http://git.io/5Oya9Q |
| 18:04 |
|
CIA-119 |
salt: Thomas S Hatch develop * r827f070 / salt/grains/core.py : change server_id grain to use __opts__['id'] - http://git.io/V6UWYQ |
| 18:06 |
|
|
carmony joined #salt |
| 18:14 |
|
|
tgecho joined #salt |
| 18:16 |
|
Sypher|NL |
hmm doesnt looks like it :( |
| 18:20 |
|
|
tgecho left #salt |
| 18:25 |
|
|
ncode joined #salt |
| 18:33 |
|
|
ncode joined #salt |
| 18:41 |
|
blast_hardcheese |
:( |
| 18:43 |
|
Sypher|NL |
http://paste2.org/p/1970396 |
| 18:44 |
|
Sypher|NL |
maybe someone can tell me what i'm doing wrong here |
| 18:44 |
|
Sypher|NL |
eh well actually: http://paste2.org/p/1970398 |
| 18:58 |
|
Sypher|NL |
argh |
| 18:58 |
|
Sypher|NL |
it would help if pillar on the minion was refreshed :) |
| 18:58 |
|
Sypher|NL |
so blast_hardcheese this works indeed :-) |
| 18:59 |
|
blast_hardcheese |
Sypher|NL: Awesome! |
| 19:00 |
|
Sypher|NL |
except not if you push that value trough file: defaults |
| 19:00 |
|
Sypher|NL |
whatever :-) |
| 19:02 |
|
|
ncode joined #salt |
| 19:27 |
|
blast_hardcheese |
Sypher|NL: What are you using for a grain syntax example, or are you just reading the source? |
| 19:27 |
|
blast_hardcheese |
RTD doesn't seem to have anything useful on grains |
| 19:45 |
|
|
UtahDave joined #salt |
| 19:55 |
|
blast_hardcheese |
Is there a way to do something like -G 'os:CentOS && roles:webserver' ? |
| 19:55 |
|
|
halberom joined #salt |
| 19:58 |
|
blast_hardcheese |
Ah, -C; Didn't show up when I searched RTD for "grain" |
| 20:05 |
|
blast_hardcheese |
Wow, grains are more useful than I thought they'd be |
| 21:01 |
|
UtahDave |
any setup.py pro's here? |
| 21:29 |
|
|
UtahDave left #salt |
| 21:32 |
|
|
elasticdog joined #salt |
| 22:16 |
|
blast_hardcheese |
thatch45: Does this remote thing seem useful, or am I crazy for wanting to use it this way? |
| 22:44 |
|
|
UtahDave joined #salt |
| 22:47 |
|
CIA-119 |
salt: Thomas S Hatch develop * r3264032 / salt/pillar.py : Add initial code for ext_pillar - http://git.io/V8E6XA |
| 22:47 |
|
CIA-119 |
salt: Thomas S Hatch develop * ra97d5f7 / conf/master.template : Add config examples for ext_pillar - http://git.io/G2nn3w |
| 22:53 |
|
CIA-119 |
salt: Thomas S Hatch develop * raed9c5a / salt/pillar.py : Invers soem ext_pillar logic - http://git.io/UIY4xA |
| 23:00 |
|
CIA-119 |
salt: Thomas S Hatch develop * r776709a / doc/topics/releases/0.9.9.rst : Add release notes for external pillar - http://git.io/Hmt_Wg |