2
0
salt-formula/salt
Charles McLaughlin 316622ef9b Remove "source" comments from Saltify configs
I use Salt environments to provide each of my team mates the ability to develop
and test their Salt changes. And I've found that when we run this formula from
our environments against our salt-master, comments in some files change. For us
this represents an unwanted and unplanned change. I understand the intention -
to identify how or why the file changed, but I firmly believe that we should
be able to run highstsate with test=True and only see intended changes. Here's
an example:

            ID: salt-cloud-providers
      Function: file.recurse
          Name: /etc/salt/cloud.providers.d
        Result: None
       Comment: #### /etc/salt/cloud.providers.d/saltify.conf ####
                The file /etc/salt/cloud.providers.d/saltify.conf is set to be changed
       Started: 20:01:28.586441
      Duration: 75.185 ms
       Changes:
                ----------
                /etc/salt/cloud.providers.d/saltify.conf:
                    ----------
                    diff:
                        ---
                        +++
                        @@ -1,4 +1,4 @@
                        -# This file is managed by Salt via salt://salt/files/cloud.providers.d/saltify.conf?saltenv=myenv
                        +# This file is managed by Salt via salt://salt/files/cloud.providers.d/saltify.conf?saltenv=dev

                         saltify:
                           provider: saltify
2017-06-07 13:39:35 -07:00
..
files Remove "source" comments from Saltify configs 2017-06-07 13:39:35 -07:00
gitfs Use a different group name for GID 0 depending on the minion's O/S 2017-01-13 10:14:34 -05:00
pkgrepo add a way to set which release of saltstack to use 2017-05-30 09:18:54 +02:00
api.sls Have salt-api service watch the master config files 2016-12-08 12:19:53 +11:00
cloud.sls Do not sync salt-cloud provided default configuration by default 2017-04-11 13:54:05 +02:00
defaults.yaml Add SmartOS salt-master and gitfs support 2016-11-14 22:13:52 +00:00
formulas.jinja Revert PR #200 2016-02-16 10:20:42 -05:00
formulas.sls Revert PR #200 2016-02-16 10:20:42 -05:00
map.jinja fix map.jinja 2017-05-31 22:53:48 +02:00
master.sls Add optional method to remove /etc/salt/master. 2016-07-15 15:13:21 +02:00
minion.sls Add optional method to remove /etc/salt/minion. 2016-07-15 15:11:55 +02:00
ssh.sls Remove hardcoded paths with {{ slspath }} variable 2015-06-09 23:05:49 +02:00
standalone.sls fix minion daemon to be enabled if master_type is set to disable 2016-10-01 11:31:56 +02:00
syndic.sls use salt_settings.syndic_service so state works on FreeBSD, too 2015-10-13 15:41:41 +02:00