Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3783326
D3328.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
670 B
Referenced Files
None
Subscribers
None
D3328.diff
View Options
diff --git a/utils/generate-webcontent-index.py b/utils/generate-webcontent-index.py
--- a/utils/generate-webcontent-index.py
+++ b/utils/generate-webcontent-index.py
@@ -45,6 +45,8 @@
print("\ninclude:")
for site in get_sites(pillar_file):
print(" - {}".format(site))
+ print("")
+ print(" - ._generic")
def get_pillar_entry(pillar_file, key):
@@ -55,9 +57,9 @@
def get_sites(pillar_file):
sites = get_pillar_entry(pillar_file, "web_content_sls")
- return sorted(
+ return sorted(set(
[site for sublist in [sites[role] for role in sites] for site in sublist]
- )
+ ))
def print_header(file_to_update):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 03:01 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265724
Default Alt Text
D3328.diff (670 B)
Attached To
Mode
D3328: Sync role webserver-content index generation with current pillar and role
Attached
Detach File
Event Timeline
Log In to Comment