Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #18013: Automating Rudder installation and configuration via Ansible #636

Conversation

ikramBej
Copy link
Contributor

@ikramBej ikramBej requested a review from amousset July 20, 2020 14:31
@@ -0,0 +1,147 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This file is part of Ansible
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not :)

# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright: (c) 2019, Rémi REY (@rrey)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be replaced too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't pay attention to the whole description part, i'm on it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright: (c) 2020, Normation SAS

__metaclass__ = type


class RudderLdapSettigsInterface(object):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to LDAP, can you rename it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

__metaclass__ = type


class RudderSettigsInterface(object):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class RudderSettigsInterface(object):
class RudderSettingsInterface(object):

VALUE = response.get("data")
return VALUE.get("settings").get(name)

def Set_SettingValue(self, name, value):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def Set_SettingValue(self, name, value):
def set_SettingValue(self, name, value):

state: present
become: true

- name: redhat | Adding Rudder Repo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does not look like a redhat config as it calls zypper

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im on it


rudder_version: 6.1

rudder_depo: repository.rudder.io
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rudder_depo: repository.rudder.io
rudder_repo: repository.rudder.io

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and everywhere else too)

@VinceMacBuche
Copy link
Member

I dunno if we should keep this PR or not @amousset (i think we changed wuite a few things here, especially since we have some playbooks published now)

@amousset amousset closed this Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants