• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#119 2021-11-20 15:41:10 +00:00
Cdist site has expired SSL certificate

Created by: darko-poljak

Fixed.

ungleich-gitea commented on issue ungleich-public/cdist#118 2021-11-20 15:41:08 +00:00
Using cdist to configure non-SSH/non-shell targets

Created by: asteven

While experimenting with cdist-ng I implemented target host as always being a URI. Then used the scheme in the URI to select the…

ungleich-gitea commented on issue ungleich-public/cdist#118 2021-11-20 15:41:07 +00:00
Using cdist to configure non-SSH/non-shell targets

Created by: lubo

@darko-poljak @telmich Your thoughts would be highly appreciated.

ungleich-gitea commented on issue ungleich-public/cdist#118 2021-11-20 15:41:06 +00:00
Using cdist to configure non-SSH/non-shell targets

Created by: telmich

I like @asteven 's URL based way. Porting it to cdist from cdist-ng is a good idea.

ungleich-gitea commented on issue ungleich-public/cdist#118 2021-11-20 15:41:04 +00:00
Using cdist to configure non-SSH/non-shell targets

Created by: darko-poljak

@adam-dej Are you starting to port this to cdist?

ungleich-gitea commented on issue ungleich-public/cdist#118 2021-11-20 15:41:03 +00:00
Using cdist to configure non-SSH/non-shell targets

Created by: darko-poljak

@adam-dej

My current workaround is to use gencode-local, HOST is IP of the SNMP device I want to configure, and I prevent cdist from attempting to connect over SSH…

ungleich-gitea commented on issue ungleich-public/cdist#117 2021-11-20 15:41:00 +00:00
error with cache_path_pattern in config file

Created by: darko-poljak

This is due to config parser interpolation where all the '%' interpolations are…

ungleich-gitea commented on issue ungleich-public/cdist#117 2021-11-20 15:40:59 +00:00
error with cache_path_pattern in config file

Created by: 4nd3r

yes, fix'd. thank you!

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:57 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: darko-poljak

I think it should be detected if system is using systemd. Perhaps also if systemd version supports /etc/sysctl.conf.

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:56 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: asteven

Ubuntu and Centos have symlinks from /etc/sysctl.d/99-sysctl.conf -> ../sysctl.conf

Not sure if this is distro specific or comes from older version of systemd.

Safer impl…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:55 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: darko-poljak

@lubo Do you have time or wish to re-implement it?

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:54 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: lubo

@asteven Seems like it's a distro-specific thing. By default, there's no /etc/sysctl.conf on Arch Linux and CoreOS. I don't agree with the implementation, though. If…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:52 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: darko-poljak

@lubo If /etc/sysctl.d/99-sysct.conf is used then what with no-systemd systems?

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:51 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: lubo

Perhaps, do what everybody else does: create symlink /etc/sysctl.d/99-sysctl.conf -> /etc/sysctl.conf. Or, consider again using /etc/sysctl.d/99-sysctl.conf when systemd is…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:50 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: asteven

We can not safely muck with the symlink /etc/sysctl.d/99-sysctl.conf -> /etc/sysctl.conf as that's owned by some rpm or deb or whatever.

I will not accept a impl that…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:48 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: lubo

I agree that playing with the symlink is not a good idea, but what's wrong with detecting systemd? We can use the existing init explorer and we don't even have to bother with…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:47 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: darko-poljak

@asteven @lubo It seems that it would be safest and easiest to implement it as you have suggested above. Detect if /etc/sysctl.d dir exists. If it does then use…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:46 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: darko-poljak

@asteven One more way. Always use /etc/sysctl.conf. In code-remote check if /etc/sysctl.d exists. If it does then check if symlink to /etc/sysctl.conf exists under it. If…

ungleich-gitea commented on issue ungleich-public/cdist#116 2021-11-20 15:40:44 +00:00
__sysctl: /etc/sysctl.conf is not being read by systemd

Created by: asteven

@darko-poljak I think we should not create any symlinks. Also I can not imagine anybody switching init system without a re-install.

@lubo I think just detecting systemd and…