Skip to contentSkip to conversation

] salt: bump 2018.3 -> 3000

PATCH In review Fagundes, Paulo 2 participants 3 messages Feb 24, 2020 – Feb 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ] salt: bump 2018.3 -> 3000

---
 .../recipes-support/salt/files/cloud          |   99 --
 .../recipes-support/salt/files/master         | 1034 -----------------
 .../recipes-support/salt/files/minion         |  802 -------------
 .../recipes-support/salt/files/roster         |    9 -
 .../recipes-support/salt/files/salt-api       |  110 --
 .../salt/files/salt-common.bash_completion    |  332 ------
 .../salt/files/salt-common.logrotate          |   23 -
 .../recipes-support/salt/files/salt-master    |  111 --
 .../recipes-support/salt/files/salt-minion    |  111 --
 .../recipes-support/salt/files/salt-syndic    |  111 --
 .../salt/set_python_location_hashbang.patch   |  145 ++-
 .../salt/{salt_2018.3.0.bb => salt_3000.bb}   |  105 +-
 12 files changed, 148 insertions(+), 2844 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/salt/files/cloud
 delete mode 100644 meta-openstack/recipes-support/salt/files/master
 delete mode 100644 meta-openstack/recipes-support/salt/files/minion
 delete mode 100644 meta-openstack/recipes-support/salt/files/roster
 delete mode 100755 meta-openstack/recipes-support/salt/files/salt-api
 delete mode 100644 meta-openstack/recipes-support/salt/files/salt-common.bash_completion
 delete mode 100644 meta-openstack/recipes-support/salt/files/salt-common.logrotate
 delete mode 100755 meta-openstack/recipes-support/salt/files/salt-master
 delete mode 100755 meta-openstack/recipes-support/salt/files/salt-minion
 delete mode 100755 meta-openstack/recipes-support/salt/files/salt-syndic
 rename meta-openstack/recipes-support/salt/{salt_2018.3.0.bb => salt_3000.bb} (67%)
meta-openstack/recipes-support/salt/files/cloud deleted +0 -99
deleted file mode 100644
index 921cc04..0000000
@@ -1,99 +0,0 @@
-# This file should normally be installed at: /etc/salt/cloud
-
-
-##########################################
-#####          VM Defaults           #####
-##########################################
-
-# Set the size of minion keys to generate, defaults to 2048
-#
-#keysize: 2048
-
-
-# Set the default os being deployed. This sets which deployment script to
-# apply. This argument is optional.
-#
-#script: bootstrap-salt
-
-
-##########################################
-#####         Logging Settings       #####
-##########################################
-
-# The location of the master log file
-#
-#log_file: /var/log/salt/cloud
-
-
-# The level of messages to send to the console.
-# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
-#
-# The following log levels are considered INSECURE and may log sensitive data:
-# ['garbage', 'trace', 'debug']
-#
-# Default: 'info'
-#
-#log_level: info
-
-
-# The level of messages to send to the log file.
-# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
-#
-# Default: 'info'
-#
-#log_level_logfile: info
-
-
-# The date and time format used in log messages. Allowed date/time formatting
-# can be seen here:
-#
-#	http://docs.python.org/library/time.html#time.strftime
-#
-#log_datefmt: '%Y-%m-%d %H:%M:%S'
-
-
-# The format of the console logging messages. Allowed formatting options can
-# be seen here:
-#
-#	http://docs.python.org/library/logging.html#logrecord-attributes
-#
-# Console log colors are specified by these additional formatters:
-#
-# %(colorlevel)s
-# %(colorname)s
-# %(colorprocess)s
-# %(colormsg)s
-#
-# Since it is desirable to include the surrounding brackets, '[' and ']', in
-# the coloring of the messages, these color formatters also include padding as
-# well.  Color LogRecord attributes are only available for console logging.
-#
-#log_fmt_console: '%(colorlevel)s %(colormsg)s'
-#log_fmt_console: '[%(levelname)-8s] %(message)s'
-#
-#log_fmt_logfile: '%(asctime)s,%(msecs)03d [%(name)-17s][%(levelname)-8s] %(message)s'
-
-
-# Logger levels can be used to tweak specific loggers logging levels.
-# For example, if you want to have the salt library at the 'warning' level,
-# but you still wish to have 'salt.modules' at the 'debug' level:
-#
-#   log_granular_levels:
-#     'salt': 'warning',
-#     'salt.modules': 'debug'
-#     'saltcloud': 'info'
-#
-#log_granular_levels: {}
-
-
-##########################################
-#####         Misc Defaults          #####
-##########################################
-
-# Whether or not to remove the accompanying SSH key from the known_hosts file
-# when an instance is destroyed.
-#
-# Default: 'False'
-#
-#delete_sshkeys: False
-
meta-openstack/recipes-support/salt/files/master deleted +0 -1034

1,034 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/minion deleted +0 -802

802 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/roster deleted +0 -9
deleted file mode 100644
index e5a8318..0000000
@@ -1,9 +0,0 @@
-# Sample salt-ssh config file
-#web1:
-#  host: 192.168.42.1 # The IP addr or DNS hostname
-#  user: fred         # Remote executions will be executed as user fred
-#  passwd: foobarbaz  # The password to use for login, if omitted, keys are used
-#  sudo: True         # Whether to sudo to root, not enabled by default
-#web2:
-#  host: 192.168.42.2
-
meta-openstack/recipes-support/salt/files/salt-api deleted +0 -110

110 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/salt-common.bash_completion deleted +0 -332

332 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/salt-common.logrotate deleted +0 -23
deleted file mode 100644
index 3cd0023..0000000
@@ -1,23 +0,0 @@
-/var/log/salt/master {
-	weekly
-	missingok
-	rotate 7
-	compress
-	notifempty
-}
-
-/var/log/salt/minion {
-	weekly
-	missingok
-	rotate 7
-	compress
-	notifempty
-}
-
-/var/log/salt/key {
-	weekly
-	missingok
-	rotate 7
-	compress
-	notifempty
-}
meta-openstack/recipes-support/salt/files/salt-master deleted +0 -111

111 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/salt-minion deleted +0 -111

111 lines not on this page · raw message

meta-openstack/recipes-support/salt/files/salt-syndic deleted +0 -111

111 lines not on this page · raw message

meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch +98 -47

200 lines not on this page · raw message

meta-openstack/recipes-support/salt/salt_3000.bb renamed from meta-openstack/recipes-support/salt/salt_2018.3.0.bb +50 -55

58 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.

#1 lore raw

hey everyone I've uploaded a patch for upgrading salt to the latest v3000 version (codename: neon)

this patch includes the following changes:

- upgrade to salt 3000
- use systemd
- make the set_python_location_hashbang.patch also change from python to python3
- reworked do_install_append()
- removed the tornado dependency whereas it is now vendored upstream
- removed most files in the files/ directory whereas those are already present in upstream salt/conf and salt/pkg directories

After uploading the patch I've noticed that as a result of the changes in do_install_append(), the following config files are no longer installed automatically to /etc/salt/
- cloud
- roster
- cloud.conf.d
- cloud.profiles.d
- cloud.providers.d

I could add back the above config files and upload a new patch, but I think I'll wait on feedback before uploading a new patch.

I'd be happy as well if someone else picked up from where I left off :)

#2 lore raw

In message: Re: [[meta-virtualization][m-c-s][PATCH]] salt: bump 2018.3 -> 3000

Quoted 23 lines · Paulo

hey everyone I've uploaded a patch for upgrading salt to the latest v3000 version (codename: neon)

this patch includes the following changes:

- upgrade to salt 3000
- use systemd
- make the set_python_location_hashbang.patch also change from python to python3
- reworked do_install_append()
- removed the tornado dependency whereas it is now vendored upstream
- removed most files in the files/ directory whereas those are already present in upstream salt/conf and salt/pkg directories

After uploading the patch I've noticed that as a result of the changes in do_install_append(), the following config files are no longer installed automatically to /etc/salt/
- cloud
- roster
- cloud.conf.d
- cloud.profiles.d
- cloud.providers.d

Quoted 2 lines

I could add back the above config files and upload a new patch, but I think I'll wait on feedback before uploading a new patch.

The update looked fine to me, so I went ahead and merged it. I'd rather have something in the tree versus iterating on it out of tree.

Cheers,

Bruce

Quoted 4 lines

I'd be happy as well if someone else picked up from where I left off :)